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

Unified Diff: media/remoting/courier_renderer.h

Issue 2491043003: MediaResource refactoring to support multiple streams (Closed)
Patch Set: rebase Created 3 years, 11 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/remoting/courier_renderer.h
diff --git a/media/remoting/courier_renderer.h b/media/remoting/courier_renderer.h
index 87b462a9ea4f4a0e2824554636582cdb911d9450..6d81ce435e2f52c7bd0561ea288c4312a0c4c7e6 100644
--- a/media/remoting/courier_renderer.h
+++ b/media/remoting/courier_renderer.h
@@ -83,7 +83,7 @@ class CourierRenderer : public Renderer {
public:
// media::Renderer implementation.
- void Initialize(DemuxerStreamProvider* demuxer_stream_provider,
+ void Initialize(MediaResource* media_resource,
RendererClient* client,
const PipelineStatusCB& init_cb) final;
void SetCdm(CdmContext* cdm_context,
@@ -169,7 +169,7 @@ class CourierRenderer : public Renderer {
// lock because it can be accessed from both media and render main thread.
base::Lock time_lock_;
- DemuxerStreamProvider* demuxer_stream_provider_;
+ MediaResource* media_resource_;
RendererClient* client_;
std::unique_ptr<DemuxerStreamAdapter> audio_demuxer_stream_adapter_;
std::unique_ptr<DemuxerStreamAdapter> video_demuxer_stream_adapter_;

Powered by Google App Engine
This is Rietveld 408576698