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

Unified Diff: media/filters/pipeline_controller.cc

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/filters/pipeline_controller.cc
diff --git a/media/filters/pipeline_controller.cc b/media/filters/pipeline_controller.cc
index 4c7a896efea2b4b88c1148169ae81d7a78ea08e3..b4940227f77d1e952f4b241b645cb5d04f524b5c 100644
--- a/media/filters/pipeline_controller.cc
+++ b/media/filters/pipeline_controller.cc
@@ -43,6 +43,7 @@ void PipelineController::Start(
const base::Closure& ended_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) {
@@ -63,8 +64,8 @@ void PipelineController::Start(
BindToCurrentLoop(error_cb_),
BindToCurrentLoop(base::Bind(&PipelineController::OnPipelineStatus,
weak_factory_.GetWeakPtr(), State::PLAYING)),
- metadata_cb, buffering_state_cb, duration_change_cb, add_text_track_cb,
- waiting_for_decryption_key_cb);
+ metadata_cb, buffering_state_cb, natural_size_changed_cb,
+ duration_change_cb, add_text_track_cb, waiting_for_decryption_key_cb);
}
void PipelineController::Seek(base::TimeDelta time, bool time_updated) {

Powered by Google App Engine
This is Rietveld 408576698