[GTK] Wrong ASSERT in AudioDestinationGstreamer::stop
[WebKit-https.git] / Source / WebCore / platform / audio / gstreamer / AudioDestinationGStreamer.cpp
index ce48a1e..c674469 100644 (file)
@@ -196,7 +196,7 @@ void AudioDestinationGStreamer::start()
 void AudioDestinationGStreamer::stop()
 {
     ASSERT(m_wavParserAvailable && m_audioSinkAvailable);
-    if (!m_wavParserAvailable || m_audioSinkAvailable)
+    if (!m_wavParserAvailable || !m_audioSinkAvailable)
         return;
 
     gst_element_set_state(m_pipeline, GST_STATE_PAUSED);