Index: media/filters/ffmpeg_video_decoder.cc |
diff --git a/media/filters/ffmpeg_video_decoder.cc b/media/filters/ffmpeg_video_decoder.cc |
index bdaee8cb72eead683c036c5a67d39b31ddd6bcdb..7df2495e2b015c180ea16f94ce78087b94ed7454 100644 |
--- a/media/filters/ffmpeg_video_decoder.cc |
+++ b/media/filters/ffmpeg_video_decoder.cc |
@@ -21,8 +21,10 @@ |
namespace media { |
-FFmpegVideoDecoder::FFmpegVideoDecoder(VideoDecodeContext* decode_context) |
- : width_(0), |
+FFmpegVideoDecoder::FFmpegVideoDecoder(MessageLoop* message_loop, |
+ VideoDecodeContext* decode_context) |
+ : message_loop_(message_loop), |
+ width_(0), |
height_(0), |
time_base_(new AVRational()), |
state_(kUnInitialized), |
@@ -446,4 +448,8 @@ void FFmpegVideoDecoder::SetVideoDecodeEngineForTest( |
decode_engine_.reset(engine); |
} |
+MessageLoop* FFmpegVideoDecoder::message_loop() { |
+ return message_loop_; |
+} |
+ |
} // namespace media |