| Index: media/filters/omx_video_decoder.h
|
| diff --git a/media/filters/omx_video_decoder.h b/media/filters/omx_video_decoder.h
|
| index 7eb850488286be8f9793ff7d358f18462aca4dce..e1ac01ed53da80497b86eed5f28a8f851cb30efb 100644
|
| --- a/media/filters/omx_video_decoder.h
|
| +++ b/media/filters/omx_video_decoder.h
|
| @@ -23,7 +23,8 @@ class VideoFrame;
|
| class OmxVideoDecoder : public VideoDecoder,
|
| public VideoDecodeEngine::EventHandler {
|
| public:
|
| - explicit OmxVideoDecoder(VideoDecodeContext* decode_context);
|
| + explicit OmxVideoDecoder(MessageLoop* message_loop,
|
| + VideoDecodeContext* decode_context);
|
| virtual ~OmxVideoDecoder();
|
|
|
| // Filter implementations.
|
| @@ -35,6 +36,7 @@ class OmxVideoDecoder : public VideoDecoder,
|
| virtual bool ProvidesBuffer();
|
| virtual const MediaFormat& media_format();
|
|
|
| + MessageLoop* message_loop();
|
| private:
|
| // VideoDecodeEngine::EventHandler interface.
|
| virtual void OnInitializeComplete(const VideoCodecInfo& info);
|
| @@ -50,6 +52,8 @@ class OmxVideoDecoder : public VideoDecoder,
|
| // scoped_refptr.
|
| void DemuxCompleteTask(Buffer* buffer);
|
|
|
| + MessageLoop* message_loop_;
|
| +
|
| // Pointer to the demuxer stream that will feed us compressed buffers.
|
| scoped_refptr<DemuxerStream> demuxer_stream_;
|
| scoped_ptr<VideoDecodeEngine> decode_engine_;
|
|
|