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

Unified Diff: services/media/factory_service/media_player_impl.h

Issue 1809703003: Motown: Add examples/media_test, a command line media player app. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Tweaks based on feedback. Created 4 years, 9 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: services/media/factory_service/media_player_impl.h
diff --git a/services/media/factory_service/media_player_impl.h b/services/media/factory_service/media_player_impl.h
index d871eba6f3b78a1893fd6ad4343aaaae9022739f..b3b3c9e5cccd3b372f78304c48d5bb48068be46f 100644
--- a/services/media/factory_service/media_player_impl.h
+++ b/services/media/factory_service/media_player_impl.h
@@ -103,14 +103,14 @@ class MediaPlayerImpl
// Handles a status update from the source. When called with the default
// argument values, initiates source status updates.
void HandleSourceStatusUpdates(
- uint64_t version = 0,
+ uint64_t version = MediaSource::kInitialStatus,
MediaSourceStatusPtr status = nullptr);
// Handles a status update from a sink. When called with the default
// argument values, initiates sink status updates.
void HandleSinkStatusUpdates(
const std::unique_ptr<Stream>& stream,
- uint64_t version = 0,
+ uint64_t version = MediaSink::kInitialStatus,
MediaSinkStatusPtr status = nullptr);
Event event_;
« examples/media_test/media_test.h ('K') | « mojo/services/media/control/interfaces/media_source.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698