Chromium Code Reviews| 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(); |