| Index: media/filters/ffmpeg_video_decoder.cc
|
| diff --git a/media/filters/ffmpeg_video_decoder.cc b/media/filters/ffmpeg_video_decoder.cc
|
| index 998eea9bf4bc97b55084ed751ed22b9d671e048a..0ad9b91384d3b9e807f142e24face54cd0dbdfeb 100644
|
| --- a/media/filters/ffmpeg_video_decoder.cc
|
| +++ b/media/filters/ffmpeg_video_decoder.cc
|
| @@ -17,17 +17,14 @@
|
| #include "media/base/video_frame.h"
|
| #include "media/ffmpeg/ffmpeg_common.h"
|
| #include "media/video/ffmpeg_video_decode_engine.h"
|
| -#include "media/video/video_decode_context.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| namespace media {
|
|
|
| -FFmpegVideoDecoder::FFmpegVideoDecoder(MessageLoop* message_loop,
|
| - VideoDecodeContext* decode_context)
|
| +FFmpegVideoDecoder::FFmpegVideoDecoder(MessageLoop* message_loop)
|
| : message_loop_(message_loop),
|
| state_(kUnInitialized),
|
| - decode_engine_(new FFmpegVideoDecodeEngine()),
|
| - decode_context_(decode_context) {
|
| + decode_engine_(new FFmpegVideoDecodeEngine()) {
|
| }
|
|
|
| FFmpegVideoDecoder::~FFmpegVideoDecoder() {}
|
| @@ -71,7 +68,7 @@ void FFmpegVideoDecoder::Initialize(DemuxerStream* demuxer_stream,
|
| }
|
|
|
| state_ = kInitializing;
|
| - decode_engine_->Initialize(message_loop_, this, NULL, config);
|
| + decode_engine_->Initialize(this, config);
|
| }
|
|
|
| void FFmpegVideoDecoder::OnInitializeComplete(bool success) {
|
|
|