gst-libs/gst/audio/gstaudiofilter.c: Initialize the GstRingerBuffer class to get it's debug category initialized. gst...

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c:
(gst_audio_filter_class_init):
Initialize the GstRingerBuffer class to get it's debug category
initialized. gst_ring_buffer_parse_caps() uses the ringbuffer debug
category and otherwise we get some g_critical(). Fixes bug #512334.
This commit is contained in:
Sebastian Dröge 2008-01-29 09:47:12 +00:00
parent 702ce6683b
commit a6e4222c70
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
* gst-libs/gst/audio/gstaudiofilter.c:
(gst_audio_filter_class_init):
Initialize the GstRingerBuffer class to get it's debug category
initialized. gst_ring_buffer_parse_caps() uses the ringbuffer debug
category and otherwise we get some g_critical(). Fixes bug #512334.
2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
* configure.ac:

View file

@ -105,6 +105,12 @@ gst_audio_filter_class_init (gpointer klass, gpointer class_data)
basetrans_class->set_caps = GST_DEBUG_FUNCPTR (gst_audio_filter_set_caps);
basetrans_class->get_unit_size =
GST_DEBUG_FUNCPTR (gst_audio_filter_get_unit_size);
/* FIXME: Ref the GstRingerBuffer class to get it's debug category
* initialized. gst_ring_buffer_parse_caps () which we use later
* uses this debug category.
*/
g_type_class_ref (GST_TYPE_RING_BUFFER);
}
static void