Commit a0354a5b authored by Wim Taymans's avatar Wim Taymans
Browse files

gst-libs/gst/audio/gstbaseaudiosrc.c: Don't try to post an error message when...

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.
parent 7a10838c
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>
 
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
......
......@@ -164,8 +164,9 @@ gst_base_audio_src_set_clock (GstElement * elem, GstClock * clock)
/* ERRORS */
wrong_clock:
{
GST_ELEMENT_ERROR (src, CORE, CLOCK,
(NULL), ("Cannot operate with this clock."));
/* no error message, this method is called with the parent
* lock helt.. sigh.. long live recursive locks.. */
GST_DEBUG_OBJECT (src, "Cannot operate with this clock.");
return FALSE;
}
}
......
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