Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1274)

Unified Diff: media/filters/ffmpeg_video_decoder.h

Issue 6171009: Remove MessageLoop methods from Filter interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied more CR suggestions & removed message_loop() methods where possible. Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/ffmpeg_demuxer_unittest.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_video_decoder.h
diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h
index 76e60e80eeb453e917dec9477ec3868f6fdd47e4..82e5a8c9211e3052840a47bc1e069f0a46314197 100644
--- a/media/filters/ffmpeg_video_decoder.h
+++ b/media/filters/ffmpeg_video_decoder.h
@@ -25,7 +25,8 @@ class VideoDecodeEngine;
class FFmpegVideoDecoder : public VideoDecoder,
public VideoDecodeEngine::EventHandler {
public:
- explicit FFmpegVideoDecoder(VideoDecodeContext* decode_context);
+ FFmpegVideoDecoder(MessageLoop* message_loop,
+ VideoDecodeContext* decode_context);
virtual ~FFmpegVideoDecoder();
// Filter implementation.
@@ -109,6 +110,7 @@ class FFmpegVideoDecoder : public VideoDecoder,
// the provided engine.
virtual void SetVideoDecodeEngineForTest(VideoDecodeEngine* engine);
+ MessageLoop* message_loop_;
size_t width_;
size_t height_;
MediaFormat media_format_;
« no previous file with comments | « media/filters/ffmpeg_demuxer_unittest.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698