mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
702ce6683b
commit
a6e4222c70
2 changed files with 14 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue