Bug 1070457: downgrade assertion about cubeb audiostreams to a warning r=roc
authorRandell Jesup <rjesup@jesup.org>
Wed, 15 Oct 2014 17:33:54 -0400
changeset 210629 5d7d3ac7582ff7b53de709e0c16c357f0ed393f2
parent 210628 adde0b51f5b2c517b8b1d685b959b8d2b3817279
child 210630 a52b2b37e42a06c973a63b4cf054c3e6a9df6c59
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersroc
bugs1070457
milestone36.0a1
Bug 1070457: downgrade assertion about cubeb audiostreams to a warning r=roc
content/media/GraphDriver.cpp
--- a/content/media/GraphDriver.cpp
+++ b/content/media/GraphDriver.cpp
@@ -459,17 +459,17 @@ OfflineClockDriver::WakeUp()
   MOZ_ASSERT(false, "An offline graph should not have to wake up.");
 }
 
 AsyncCubebTask::AsyncCubebTask(AudioCallbackDriver* aDriver, AsyncCubebOperation aOperation)
   : mDriver(aDriver),
     mOperation(aOperation),
     mShutdownGrip(aDriver->GraphImpl())
 {
-  MOZ_ASSERT(mDriver->mAudioStream || aOperation == INIT, "No audio stream !");
+  NS_WARN_IF_FALSE(mDriver->mAudioStream || aOperation == INIT, "No audio stream !");
 }
 
 AsyncCubebTask::~AsyncCubebTask()
 {
 }
 
 NS_IMETHODIMP
 AsyncCubebTask::Run()