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

Unified Diff: media/base/pipeline.h

Issue 1873513003: Add video-rendering to mojo media pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor cleanup 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.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index db326c2928353f2aa9d6080ad650e4ecd56f22fb..35eee3235fdc8b5108cfa22f2aa085519258673a 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -54,6 +54,8 @@ class MEDIA_EXPORT Pipeline {
// video in supported formats are known.
// |buffering_state_cb| will be executed whenever there are changes in the
// overall buffering state of the pipeline.
+ // |natural_size_changed_cb| will be executed whenever video natural size
+ // changes.
xhwang 2016/04/12 19:40:37 Will this be called for the first frame? I feel ca
DaleCurtis 2016/04/12 20:52:42 The VideoFrameCompositor wants this called for the
// |duration_change_cb| optional callback that will be executed whenever the
// presentation duration changes.
// |add_text_track_cb| will be executed whenever a text track is added.
@@ -67,6 +69,7 @@ class MEDIA_EXPORT Pipeline {
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) = 0;

Powered by Google App Engine
This is Rietveld 408576698