| Index: media/filters/ffmpeg_video_decoder.h
|
| diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h
|
| index 529d69e70b792e201951be2032083dac3299035f..7cda4878c1dd1f6e5d62784338e56f24d20d5925 100644
|
| --- a/media/filters/ffmpeg_video_decoder.h
|
| +++ b/media/filters/ffmpeg_video_decoder.h
|
| @@ -8,6 +8,7 @@
|
| #include <list>
|
|
|
| #include "base/callback.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "media/base/video_decoder.h"
|
| #include "media/base/video_decoder_config.h"
|
| @@ -44,6 +45,9 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
|
| const DecodeCB& decode_cb) OVERRIDE;
|
| virtual void Reset(const base::Closure& closure) OVERRIDE;
|
|
|
| + void DecodeInternal(const scoped_refptr<DecoderBuffer>& buffer,
|
| + const DecodeCB& decode_cb);
|
| +
|
| // Callback called from within FFmpeg to allocate a buffer based on
|
| // the dimensions of |codec_context|. See AVCodecContext.get_buffer2
|
| // documentation inside FFmpeg.
|
| @@ -87,6 +91,8 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
|
|
|
| bool decode_nalus_;
|
|
|
| + base::WeakPtrFactory<FFmpegVideoDecoder> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(FFmpegVideoDecoder);
|
| };
|
|
|
|
|