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

Unified Diff: media/base/pipeline_impl.h

Issue 1873513003: Add video-rendering to mojo media pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 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/base/pipeline_impl.h
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h
index 7a6da3a7b5115974ad31e0ddf7066c0b53b1a4b4..dfdf17163401b4530ae105f91cb79117584ae1bb 100644
--- a/media/base/pipeline_impl.h
+++ b/media/base/pipeline_impl.h
@@ -90,6 +90,7 @@ class MEDIA_EXPORT PipelineImpl : public Pipeline, public DemuxerHost {
const PipelineStatusCB& seek_cb,
const PipelineMetadataCB& metadata_cb,
const BufferingStateCB& buffering_state_cb,
+ const NaturalSizeChangedCB& natural_size_changed_cb,
const base::Closure& duration_change_cb,
const AddTextTrackCB& add_text_track_cb,
const base::Closure& waiting_for_decryption_key_cb) override;
@@ -232,6 +233,7 @@ class MEDIA_EXPORT PipelineImpl : public Pipeline, public DemuxerHost {
void ReportMetadata();
void BufferingStateChanged(BufferingState new_buffering_state);
+ void OnNaturalSizeChanged(const gfx::Size& size);
// Task runner used to execute pipeline tasks.
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
@@ -303,6 +305,7 @@ class MEDIA_EXPORT PipelineImpl : public Pipeline, public DemuxerHost {
PipelineStatusCB error_cb_;
PipelineMetadataCB metadata_cb_;
BufferingStateCB buffering_state_cb_;
+ NaturalSizeChangedCB natural_size_changed_cb_;
base::Closure duration_change_cb_;
AddTextTrackCB add_text_track_cb_;
base::Closure waiting_for_decryption_key_cb_;

Powered by Google App Engine
This is Rietveld 408576698