Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: media/filters/ffmpeg_video_decoder.h

Issue 8417016: Remove media::VideoDecodeContext as it has no implementation and is unused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_video_decoder.h
diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h
index b22144e10429c0035f80e4002902ee9c6a525653..5e1ba1ad1b4601cc20f09b0ad7431c187c4ab9ea 100644
--- a/media/filters/ffmpeg_video_decoder.h
+++ b/media/filters/ffmpeg_video_decoder.h
@@ -12,6 +12,8 @@
#include "media/video/video_decode_engine.h"
#include "ui/gfx/size.h"
+class MessageLoop;
+
namespace media {
class VideoDecodeEngine;
@@ -20,8 +22,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.
@@ -30,7 +31,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;
@@ -81,7 +82,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_;
« no previous file with comments | « no previous file | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698