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

Unified Diff: media/filters/renderer_impl.h

Issue 591203003: media: Pass DemuxerStreamProvider in Renderer::Initialize(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 6 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/filters/pipeline_integration_test_base.cc ('k') | media/filters/renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/renderer_impl.h
diff --git a/media/filters/renderer_impl.h b/media/filters/renderer_impl.h
index c41823321308d1875d90989652227b70bcda869d..4c1d00db4d6bda68795313d8e8eddd4870c5ac73 100644
--- a/media/filters/renderer_impl.h
+++ b/media/filters/renderer_impl.h
@@ -31,19 +31,19 @@ class WallClockTimeSource;
class MEDIA_EXPORT RendererImpl : public Renderer {
public:
- // Renders audio/video streams in |demuxer_stream_provider| using
- // |audio_renderer| and |video_renderer| provided. All methods except for
- // GetMediaTime() run on the |task_runner|. GetMediaTime() runs on the render
- // main thread because it's part of JS sync API.
+ // Renders audio/video streams using |audio_renderer| and |video_renderer|
+ // provided. All methods except for GetMediaTime() run on the |task_runner|.
+ // GetMediaTime() runs on the render main thread because it's part of JS sync
+ // API.
RendererImpl(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
- DemuxerStreamProvider* demuxer_stream_provider,
scoped_ptr<AudioRenderer> audio_renderer,
scoped_ptr<VideoRenderer> video_renderer);
virtual ~RendererImpl();
// Renderer implementation.
- virtual void Initialize(const base::Closure& init_cb,
+ virtual void Initialize(DemuxerStreamProvider* demuxer_stream_provider,
+ const base::Closure& init_cb,
const StatisticsCB& statistics_cb,
const base::Closure& ended_cb,
const PipelineStatusCB& error_cb,
« no previous file with comments | « media/filters/pipeline_integration_test_base.cc ('k') | media/filters/renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698