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

Unified Diff: media/filters/ffmpeg_video_decoder.h

Issue 13813016: Remove reference counting from media::Demuxer and friends. (Closed) Base URL: http://git.chromium.org/chromium/src.git@vd_scoped
Patch Set: Created 7 years, 8 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
Index: media/filters/ffmpeg_video_decoder.h
diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h
index de8381460a887ee398d2596d259d6e208f392694..466138ee06f50fba15f672e9fbeed72ce19040a4 100644
--- a/media/filters/ffmpeg_video_decoder.h
+++ b/media/filters/ffmpeg_video_decoder.h
@@ -30,7 +30,7 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
virtual ~FFmpegVideoDecoder();
// VideoDecoder implementation.
- virtual void Initialize(const scoped_refptr<DemuxerStream>& stream,
+ virtual void Initialize(DemuxerStream* stream,
const PipelineStatusCB& status_cb,
const StatisticsCB& statistics_cb) OVERRIDE;
virtual void Read(const ReadCB& read_cb) OVERRIDE;
@@ -87,7 +87,7 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
AVFrame* av_frame_;
// Pointer to the demuxer stream that will feed us compressed buffers.
- scoped_refptr<DemuxerStream> demuxer_stream_;
+ DemuxerStream* demuxer_stream_;
std::list<scoped_refptr<VideoFrame> > decoded_frames_;

Powered by Google App Engine
This is Rietveld 408576698