mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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.
This commit is contained in:
parent
edbebc34ef
commit
4bba74f13f
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue