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

Unified Diff: examples/media_test/media_test.h

Issue 1986303002: Motown: Use new TimelineTransform and related definitions (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixes per feedback. Created 4 years, 7 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 | « examples/audio_play_test/play_wav.cc ('k') | examples/media_test/media_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/media_test/media_test.h
diff --git a/examples/media_test/media_test.h b/examples/media_test/media_test.h
index 00ce3408ff77f9f6b42f39d6393559831ee809c2..da5473ee3d3478551f82d024657d40e80737bc23 100644
--- a/examples/media_test/media_test.h
+++ b/examples/media_test/media_test.h
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "mojo/public/cpp/application/application_impl.h"
-#include "mojo/services/media/common/cpp/linear_transform.h"
+#include "mojo/services/media/common/cpp/timeline_function.h"
#include "mojo/services/media/common/interfaces/rate_control.mojom.h"
#include "mojo/services/media/control/interfaces/media_factory.mojom.h"
#include "mojo/services/media/control/interfaces/media_player.mojom.h"
@@ -63,7 +63,7 @@ class MediaTest {
MediaPlayerPtr media_player_;
MediaState previous_state_ = MediaState::UNPREPARED;
MediaState state_ = MediaState::UNPREPARED;
- LinearTransform transform_ = LinearTransform(0, 0, 1, 0);
+ TimelineFunction timeline_function_;
MediaMetadataPtr metadata_;
UpdateCallback update_callback_;
« no previous file with comments | « examples/audio_play_test/play_wav.cc ('k') | examples/media_test/media_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698