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

Unified Diff: media/filters/ffmpeg_video_decoder.h

Issue 10836304: Add support for config changes during playback to FFmpegVideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | media/filters/ffmpeg_video_decoder.cc » ('j') | media/filters/pipeline_integration_test.cc » ('J')
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 a48e3b4b841024db0d326e907c7c313ad4aec8fb..b2525a80ba205c400205a97d7e665f90ccc37613 100644
--- a/media/filters/ffmpeg_video_decoder.h
+++ b/media/filters/ffmpeg_video_decoder.h
@@ -80,6 +80,10 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
bool Decode(const scoped_refptr<DecoderBuffer>& buffer,
scoped_refptr<VideoFrame>* video_frame);
+ // Handles initializing the decoder with a new config.
Ami GONE FROM CHROMIUM 2012/08/17 15:16:59 s/initializing/(re-)initializing/
Ami GONE FROM CHROMIUM 2012/08/17 15:16:59 s/new/(new)/
acolwell GONE FROM CHROMIUM 2012/08/20 23:10:12 Done.
acolwell GONE FROM CHROMIUM 2012/08/20 23:10:12 Done.
+ // Returns true if initialization was successful.
+ bool HandleConfigChange();
Ami GONE FROM CHROMIUM 2012/08/17 15:16:59 Since this handles the initial config as well, s/
acolwell GONE FROM CHROMIUM 2012/08/20 23:10:12 Done.
+
// Releases resources associated with |codec_context_| and |av_frame_|
// and resets them to NULL.
void ReleaseFFmpegResources();
« no previous file with comments | « no previous file | media/filters/ffmpeg_video_decoder.cc » ('j') | media/filters/pipeline_integration_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698