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

Unified Diff: chromecast/media/cma/pipeline/audio_video_pipeline_impl_unittest.cc

Issue 2305113002: Make default media::Renderer::playback_rate = 0. (Closed)
Patch Set: fixes MediaSourcePlayerTest Created 4 years, 3 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 | « no previous file | chromecast/media/cma/pipeline/media_pipeline_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/pipeline/audio_video_pipeline_impl_unittest.cc
diff --git a/chromecast/media/cma/pipeline/audio_video_pipeline_impl_unittest.cc b/chromecast/media/cma/pipeline/audio_video_pipeline_impl_unittest.cc
index fce6a45a0d135ab9a4611a0926ddba3c01180c11..185a55f7f1cf263148af5b09518e05f049d9a9b9 100644
--- a/chromecast/media/cma/pipeline/audio_video_pipeline_impl_unittest.cc
+++ b/chromecast/media/cma/pipeline/audio_video_pipeline_impl_unittest.cc
@@ -134,6 +134,7 @@ class PipelineHelper {
eos_[STREAM_VIDEO] = !media_pipeline_.HasVideo();
base::TimeDelta start_time = base::TimeDelta::FromMilliseconds(0);
media_pipeline_.StartPlayingFrom(start_time);
+ media_pipeline_.SetPlaybackRate(1.0);
}
void SetCdm() { media_pipeline_.SetCdm(cdm_context_.get()); }
void Flush(const base::Closure& flush_cb) { media_pipeline_.Flush(flush_cb); }
« no previous file with comments | « no previous file | chromecast/media/cma/pipeline/media_pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698