| Index: media/filters/ffmpeg_video_decoder.h
|
| diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h
|
| index cd00bd31ece1c2cc70528655a28dc654e697d01c..dcd035a828525378c73fb3bba7b954b8a3951fb1 100644
|
| --- a/media/filters/ffmpeg_video_decoder.h
|
| +++ b/media/filters/ffmpeg_video_decoder.h
|
| @@ -14,6 +14,8 @@
|
| #include "media/base/video_frame.h"
|
| #include "media/video/video_decode_engine.h"
|
|
|
| +class MessageLoop;
|
| +
|
| namespace media {
|
|
|
| class VideoDecodeEngine;
|
| @@ -22,8 +24,7 @@ class MEDIA_EXPORT FFmpegVideoDecoder
|
| : public VideoDecoder,
|
| public VideoDecodeEngine::EventHandler {
|
| public:
|
| - FFmpegVideoDecoder(MessageLoop* message_loop,
|
| - VideoDecodeContext* decode_context);
|
| + explicit FFmpegVideoDecoder(MessageLoop* message_loop);
|
| virtual ~FFmpegVideoDecoder();
|
|
|
| // Filter implementation.
|
| @@ -32,7 +33,7 @@ class MEDIA_EXPORT FFmpegVideoDecoder
|
| virtual void Pause(const base::Closure& callback) OVERRIDE;
|
| virtual void Flush(const base::Closure& callback) OVERRIDE;
|
|
|
| - // Decoder implementation.
|
| + // VideoDecoder implementation.
|
| virtual void Initialize(DemuxerStream* demuxer_stream,
|
| const base::Closure& callback,
|
| const StatisticsCallback& stats_callback) OVERRIDE;
|
| @@ -94,7 +95,6 @@ class MEDIA_EXPORT FFmpegVideoDecoder
|
| PtsStream pts_stream_; // Stream of presentation timestamps.
|
| DecoderState state_;
|
| scoped_ptr<VideoDecodeEngine> decode_engine_;
|
| - scoped_ptr<VideoDecodeContext> decode_context_;
|
|
|
| base::Closure initialize_callback_;
|
| base::Closure uninitialize_callback_;
|
|
|