audiosrc: wait on the right cond variable

This broke with a merge commit
This commit is contained in:
Wim Taymans 2012-01-27 18:25:38 +01:00
parent 91f8f414cd
commit 30af2fe7d6

View file

@ -401,7 +401,7 @@ gst_audio_src_ring_buffer_acquire (GstAudioRingBuffer * buf,
src->thread = g_thread_try_new ("audiosrc-ringbuffer",
(GThreadFunc) audioringbuffer_thread_func, buf, NULL);
GST_AUDIO_RING_BUFFER_WAIT (buf);
GST_AUDIO_SRC_RING_BUFFER_WAIT (buf);
return result;