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

Unified Diff: media/base/pipeline_impl.cc

Issue 2389473002: Media Remoting: Add RemotingController. (Closed)
Patch Set: Rebased. Created 4 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 | « media/base/media_observer.cc ('k') | media/base/pipeline_metadata.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_impl.cc
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc
index 0a08497ef248beeb82db6e420dffefd585f82809..5d8aaa31904d43a4037ff937359f120a2b02849a 100644
--- a/media/base/pipeline_impl.cc
+++ b/media/base/pipeline_impl.cc
@@ -858,9 +858,12 @@ void PipelineImpl::RendererWrapper::ReportMetadata() {
metadata.has_video = true;
metadata.natural_size = stream->video_decoder_config().natural_size();
metadata.video_rotation = stream->video_rotation();
+ metadata.video_decoder_config = stream->video_decoder_config();
}
- if (demuxer_->GetStream(DemuxerStream::AUDIO)) {
+ stream = demuxer_->GetStream(DemuxerStream::AUDIO);
+ if (stream) {
metadata.has_audio = true;
+ metadata.audio_decoder_config = stream->audio_decoder_config();
}
main_task_runner_->PostTask(FROM_HERE, base::Bind(&PipelineImpl::OnMetadata,
« no previous file with comments | « media/base/media_observer.cc ('k') | media/base/pipeline_metadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698