mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
dshowdec: fix compilation with the debugging system disabled
One GST_DEBUG_CATEGORY_INIT should be enough anyway. Fixes #578562 (spotted by David Hoyt).
This commit is contained in:
parent
dde471ab49
commit
2b1fcc75a7
2 changed files with 2 additions and 14 deletions
|
@ -358,13 +358,7 @@ gst_dshowaudiodec_class_init (GstDshowAudioDecClass * klass)
|
|||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_dshowaudiodec_change_state);
|
||||
|
||||
if (!parent_class)
|
||||
parent_class = (GstElementClass *)g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
|
||||
if (!dshowaudiodec_debug) {
|
||||
GST_DEBUG_CATEGORY_INIT (dshowaudiodec_debug, "dshowaudiodec", 0,
|
||||
"Directshow filter audio decoder");
|
||||
}
|
||||
parent_class = (GstElementClass *) g_type_class_peek_parent (klass);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -410,13 +410,7 @@ gst_dshowvideodec_class_init (GstDshowVideoDecClass * klass)
|
|||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_dshowvideodec_change_state);
|
||||
|
||||
if (!parent_class)
|
||||
parent_class = (GstElementClass *)g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
|
||||
if (!dshowvideodec_debug) {
|
||||
GST_DEBUG_CATEGORY_INIT (dshowvideodec_debug, "dshowvideodec", 0,
|
||||
"Directshow filter video decoder");
|
||||
}
|
||||
parent_class = (GstElementClass *) g_type_class_peek_parent (klass);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue