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

Unified Diff: media/filters/vpx_video_decoder.cc

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/vpx_video_decoder.cc
diff --git a/media/filters/vpx_video_decoder.cc b/media/filters/vpx_video_decoder.cc
index baab01741ab4a49bd3a02df5e400b0b80bbf0d12..1dedc270c9590a01f01e2166cd3de2313e6250ed 100644
--- a/media/filters/vpx_video_decoder.cc
+++ b/media/filters/vpx_video_decoder.cc
@@ -60,6 +60,7 @@ VpxVideoDecoder::VpxVideoDecoder(
: message_loop_(message_loop),
weak_factory_(this),
state_(kUninitialized),
+ demuxer_stream_(NULL),
vpx_codec_(NULL) {
}
@@ -69,7 +70,7 @@ VpxVideoDecoder::~VpxVideoDecoder() {
}
void VpxVideoDecoder::Initialize(
- const scoped_refptr<DemuxerStream>& stream,
+ DemuxerStream* stream,
const PipelineStatusCB& status_cb,
const StatisticsCB& statistics_cb) {
DCHECK(message_loop_->BelongsToCurrentThread());

Powered by Google App Engine
This is Rietveld 408576698