| Index: media/filters/omx_video_decoder.cc
|
| diff --git a/media/filters/omx_video_decoder.cc b/media/filters/omx_video_decoder.cc
|
| index 15ba4f1234076f29c18a85a06362fd749d31b7f0..f02bea0c5fb1f4fbecf79e2fb41e65e6e81d74a2 100644
|
| --- a/media/filters/omx_video_decoder.cc
|
| +++ b/media/filters/omx_video_decoder.cc
|
| @@ -16,8 +16,10 @@
|
| namespace media {
|
|
|
| OmxVideoDecoder::OmxVideoDecoder(
|
| + MessageLoop* message_loop,
|
| VideoDecodeContext* context)
|
| - : decode_engine_(new OmxVideoDecodeEngine()),
|
| + : message_loop_(message_loop),
|
| + decode_engine_(new OmxVideoDecodeEngine()),
|
| decode_context_(context),
|
| width_(0), height_(0) {
|
| DCHECK(decode_engine_.get());
|
| @@ -234,6 +236,10 @@ void OmxVideoDecoder::DemuxCompleteTask(Buffer* buffer) {
|
| &VideoDecodeEngine::ConsumeVideoSample, ref_buffer));
|
| }
|
|
|
| +MessageLoop* OmxVideoDecoder::message_loop() {
|
| + return message_loop_;
|
| +}
|
| +
|
| } // namespace media
|
|
|
| // Disable refcounting for the decode engine because it only lives on the
|
|
|