summaryrefslogtreecommitdiffstats
path: root/media/base/pipeline_impl.cc
diff options
context:
space:
mode:
authorralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 04:20:48 +0000
committerralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 04:20:48 +0000
commit636cf88fc365a7c62cc3318f149b3919d148f5d0 (patch)
tree520002c5b36dfbffac1229bddf04b0721981a5f8 /media/base/pipeline_impl.cc
parentd815db156387600cdad5466be6b172421df420d8 (diff)
downloadchromium_src-636cf88fc365a7c62cc3318f149b3919d148f5d0.zip
chromium_src-636cf88fc365a7c62cc3318f149b3919d148f5d0.tar.gz
chromium_src-636cf88fc365a7c62cc3318f149b3919d148f5d0.tar.bz2
Ability for demuxer clients to get to FFmpeg's AVStream object exposed as an extended interface through DemuxerStream object.
DemuxerStream now derives from base::RefCountedThreadSafe. Review URL: http://codereview.chromium.org/42521 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12537 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pipeline_impl.cc')
-rw-r--r--media/base/pipeline_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc
index 67f4b9c..3e3a40d 100644
--- a/media/base/pipeline_impl.cc
+++ b/media/base/pipeline_impl.cc
@@ -418,7 +418,7 @@ void PipelineThread::Render(FilterFactory* filter_factory, Demuxer* demuxer) {
const std::string major_mime_type = Decoder::major_mime_type();
const int num_outputs = demuxer->GetNumberOfStreams();
for (int i = 0; i < num_outputs; ++i) {
- DemuxerStream* demuxer_stream = demuxer->GetStream(i);
+ scoped_refptr<DemuxerStream> demuxer_stream = demuxer->GetStream(i);
const MediaFormat* stream_format = demuxer_stream->GetMediaFormat();
std::string value;
if (stream_format->GetAsString(MediaFormat::kMimeType, &value) &&