mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
directsoundsrc: Fix critical due to missing debug category initialization
https://bugzilla.gnome.org/show_bug.cgi?id=727812
This commit is contained in:
parent
ff11934bbf
commit
e12646f30a
1 changed files with 3 additions and 3 deletions
|
@ -158,6 +158,9 @@ gst_directsound_src_class_init (GstDirectSoundSrcClass * klass)
|
|||
gstbasesrc_class = (GstBaseSrcClass *) klass;
|
||||
gstaudiosrc_class = (GstAudioSrcClass *) klass;
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (directsoundsrc_debug, "directsoundsrc", 0,
|
||||
"DirectSound Src");
|
||||
|
||||
GST_DEBUG ("initializing directsoundsrc class");
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_directsound_src_finalize);
|
||||
|
@ -178,9 +181,6 @@ gst_directsound_src_class_init (GstDirectSoundSrcClass * klass)
|
|||
gstaudiosrc_class->delay = GST_DEBUG_FUNCPTR (gst_directsound_src_delay);
|
||||
gstaudiosrc_class->reset = GST_DEBUG_FUNCPTR (gst_directsound_src_reset);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (directsoundsrc_debug, "directsoundsrc", 0,
|
||||
"DirectSound Src");
|
||||
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"DirectSound audio source", "Source/Audio",
|
||||
"Capture from a soundcard via DirectSound",
|
||||
|
|
Loading…
Reference in a new issue