| Index: media/filters/omx_video_decode_engine.cc
|
| diff --git a/media/filters/omx_video_decode_engine.cc b/media/filters/omx_video_decode_engine.cc
|
| index db5b40238de78cfbf43cde2e716147371fc1fc6d..5e26bfa9a7c02633b2627ff097219928716a3a97 100644
|
| --- a/media/filters/omx_video_decode_engine.cc
|
| +++ b/media/filters/omx_video_decode_engine.cc
|
| @@ -255,6 +255,17 @@ void OmxVideoDecodeEngine::PortFlushDone(int port) {
|
| ComponentFlushDone();
|
| }
|
|
|
| +void OmxVideoDecodeEngine::Seek(Task* done_cb) {
|
| + message_loop_->PostTask(FROM_HERE,
|
| + NewRunnableMethod(this, &OmxVideoDecodeEngine::SeekTask, done_cb));
|
| +}
|
| +
|
| +void OmxVideoDecodeEngine::SeekTask(Task* done_cb) {
|
| + DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + AutoTaskRunner done_runner(done_cb);
|
| + // TODO(jiesun): add real logic here.
|
| +}
|
| +
|
| VideoFrame::Format OmxVideoDecodeEngine::GetSurfaceFormat() const {
|
| // TODO(jiesun): Both OmxHeaderType and EGLImage surface type could have
|
| // different surface formats.
|
| @@ -671,6 +682,10 @@ void OmxVideoDecodeEngine::FillThisBuffer(
|
| }
|
| }
|
|
|
| +bool OmxVideoDecodeEngine::ProvidesBuffer() const {
|
| + return !uses_egl_image_;
|
| +}
|
| +
|
| // Reconfigure port
|
| void OmxVideoDecodeEngine::OnPortSettingsChangedRun(int port,
|
| OMX_INDEXTYPE index) {
|
|
|