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

Unified Diff: media/filters/ffmpeg_audio_decoder.h

Issue 465044: Refactor FFmpegVideoDecoder to try and generalize code common to all video decoders. (Closed)
Patch Set: Fix SCOPED_TRACE since VS faults on %zd. Created 11 years 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/decoder_base.h ('k') | media/filters/ffmpeg_audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_audio_decoder.h
diff --git a/media/filters/ffmpeg_audio_decoder.h b/media/filters/ffmpeg_audio_decoder.h
index f7adc3336febf46c98e45ed28280671e99d5d552..f5ff8ac5bc3e9568b7248e71f83e7cad6fdfe6cc 100644
--- a/media/filters/ffmpeg_audio_decoder.h
+++ b/media/filters/ffmpeg_audio_decoder.h
@@ -24,13 +24,12 @@ class FFmpegAudioDecoder : public DecoderBase<AudioDecoder, Buffer> {
static bool IsMediaFormatSupported(const MediaFormat& media_format);
protected:
- virtual bool OnInitialize(DemuxerStream* demuxer_stream);
+ virtual void DoInitialize(DemuxerStream* demuxer_stream, bool* success,
+ Task* done_cb);
- virtual void OnSeek(base::TimeDelta time);
+ virtual void DoSeek(base::TimeDelta time, Task* done_cb);
- virtual void OnStop();
-
- virtual void OnDecode(Buffer* input);
+ virtual void DoDecode(Buffer* input, Task* done_cb);
private:
friend class FilterFactoryImpl0<FFmpegAudioDecoder>;
« no previous file with comments | « media/filters/decoder_base.h ('k') | media/filters/ffmpeg_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698