mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
gst-libs/gst/audio/gstbaseaudiosrc.c: Don't try to post an error message when setting the clock fails as this can hap...
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_set_clock), (gst_base_audio_src_check_get_range), (gst_base_audio_src_create): Don't try to post an error message when setting the clock fails as this can happen when adding an element to a bin which will then deadlock. Fixes #347296.
This commit is contained in:
parent
7a10838cd8
commit
a0354a5b96
2 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2006-07-12 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
||||||
|
(gst_base_audio_src_set_clock),
|
||||||
|
(gst_base_audio_src_check_get_range), (gst_base_audio_src_create):
|
||||||
|
Don't try to post an error message when setting the clock fails
|
||||||
|
as this can happen when adding an element to a bin which will then
|
||||||
|
deadlock. Fixes #347296.
|
||||||
|
|
||||||
2006-07-12 Edward Hervey <edward@fluendo.com>
|
2006-07-12 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
|
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
|
||||||
|
|
|
@ -164,8 +164,9 @@ gst_base_audio_src_set_clock (GstElement * elem, GstClock * clock)
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
wrong_clock:
|
wrong_clock:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (src, CORE, CLOCK,
|
/* no error message, this method is called with the parent
|
||||||
(NULL), ("Cannot operate with this clock."));
|
* lock helt.. sigh.. long live recursive locks.. */
|
||||||
|
GST_DEBUG_OBJECT (src, "Cannot operate with this clock.");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue