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

Unified Diff: media/filters/ffmpeg_audio_decoder.cc

Issue 6171009: Remove MessageLoop methods from Filter interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply CR suggestions & fix style issues. 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
Index: media/filters/ffmpeg_audio_decoder.cc
diff --git a/media/filters/ffmpeg_audio_decoder.cc b/media/filters/ffmpeg_audio_decoder.cc
index 2e8e9ad06da853be35b0fe279724c8a414d5008c..030149a3f36da349729f5fc3d9ccc1aa520bc102 100644
--- a/media/filters/ffmpeg_audio_decoder.cc
+++ b/media/filters/ffmpeg_audio_decoder.cc
@@ -27,8 +27,9 @@ namespace media {
const size_t FFmpegAudioDecoder::kOutputBufferSize =
AVCODEC_MAX_AUDIO_FRAME_SIZE;
-FFmpegAudioDecoder::FFmpegAudioDecoder()
- : codec_context_(NULL),
+FFmpegAudioDecoder::FFmpegAudioDecoder(MessageLoop* message_loop)
+ : DecoderBase<AudioDecoder, Buffer>(message_loop),
+ codec_context_(NULL),
estimated_next_timestamp_(kNoTimestamp) {
}

Powered by Google App Engine
This is Rietveld 408576698