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

Unified Diff: media/filters/video_renderer_unittest.cc

Issue 39170: Pipeline_Impl was modified to properly render a stream that has video but no ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
« media/base/pipeline_impl.h ('K') | « media/filters/file_data_source_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_unittest.cc
===================================================================
--- media/filters/video_renderer_unittest.cc (revision 10997)
+++ media/filters/video_renderer_unittest.cc (working copy)
@@ -40,8 +40,6 @@
c->AddFactory(new InstanceFilterFactory<TestVideoRenderer>(test_renderer));
media::InitializationHelper h;
h.Start(&p, c, url);
- h.Wait();
- EXPECT_TRUE(p.IsInitialized());
p.SetPlaybackRate(1.0f);
PlatformThread::Sleep(static_cast<int>(test_time.InMilliseconds()));
p.Stop();
@@ -70,8 +68,6 @@
c->AddFactory(new InstanceFilterFactory<TestVideoRenderer>(test_renderer));
media::InitializationHelper h;
h.Start(&p, c, url);
- h.TimedWait(base::TimeDelta::FromSeconds(1));
- EXPECT_TRUE(p.IsInitialized());
p.SetPlaybackRate(1.0f);
PlatformThread::Sleep(static_cast<int>(test_time.InMilliseconds()));
p.Stop();
« media/base/pipeline_impl.h ('K') | « media/filters/file_data_source_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698