Commit 4bba74f1 authored by Michael Smith's avatar Michael Smith
Browse files

tests/check/pipelines/vorbisenc.c: Move a g_cond_signal to earlier to avoid...

tests/check/pipelines/vorbisenc.c: Move a g_cond_signal to earlier to avoid sometimes deadlocking (commonly happens w...

Original commit message from CVS:
* tests/check/pipelines/vorbisenc.c: (stop_pipeline):
Move a g_cond_signal to earlier to avoid sometimes deadlocking
(commonly happens when running this test under valgrind) when trying
to remove the buffer probe.
parent edbebc34
2006-07-14 Michael Smith <msmith@fluendo.com>
* tests/check/pipelines/vorbisenc.c: (stop_pipeline):
Move a g_cond_signal to earlier to avoid sometimes deadlocking
(commonly happens when running this test under valgrind) when trying
to remove the buffer probe.
2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
 
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
......
......@@ -87,9 +87,9 @@ stop_pipeline (GstElement * bin, GstPad * pad)
if (buf)
gst_buffer_unref (buf);
buf = NULL;
g_cond_signal (cond);
gst_pad_remove_buffer_probe (pad, (guint) id);
id = 0;
g_cond_signal (cond);
g_mutex_unlock (lock);
gst_element_set_state (bin, GST_STATE_NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment