Bug 864255: fix mediapipeline_unittests to match new assertion r=ekr

This commit is contained in:
Randell Jesup 2013-05-13 01:03:30 -04:00
parent 15a9d23473
commit 316afac159

View File

@ -109,14 +109,15 @@ class TestAgent {
void Stop() {
MOZ_MTLOG(PR_LOG_DEBUG, "Stopping");
mozilla::SyncRunnable::DispatchToThread(
test_utils->sts_target(),
WrapRunnable(this, &TestAgent::StopInt));
if (audio_pipeline_)
audio_pipeline_->ShutdownMedia_m();
if (video_pipeline_)
video_pipeline_->ShutdownMedia_m();
mozilla::SyncRunnable::DispatchToThread(
test_utils->sts_target(),
WrapRunnable(this, &TestAgent::StopInt));
audio_pipeline_ = NULL;
video_pipeline_ = NULL;