| Index: media/filters/ffmpeg_video_decoder.h
|
| ===================================================================
|
| --- media/filters/ffmpeg_video_decoder.h (revision 68165)
|
| +++ media/filters/ffmpeg_video_decoder.h (working copy)
|
| @@ -14,6 +14,7 @@
|
| #include "media/base/video_frame.h"
|
| #include "media/filters/decoder_base.h"
|
| #include "media/video/video_decode_engine.h"
|
| +#include "media/ffmpeg/ffmpeg_common.h"
|
|
|
| // FFmpeg types.
|
| struct AVRational;
|
| @@ -41,6 +42,12 @@
|
| virtual void ProduceVideoFrame(scoped_refptr<VideoFrame> video_frame);
|
| virtual bool ProvidesBuffer();
|
|
|
| + virtual const char* filter_name() { return "FFmpegVideoDecoder"; }
|
| + virtual bool supports_codec_id(int codec_id) {
|
| + // Tell that we support all possible video formats
|
| + return true;
|
| + }
|
| +
|
| private:
|
| // VideoDecodeEngine::EventHandler interface.
|
| virtual void OnInitializeComplete(const VideoCodecInfo& info);
|
|
|