diff options
Diffstat (limited to 'sys/dshowdecwrapper/gstdshowaudiodec.cpp')
-rw-r--r-- | sys/dshowdecwrapper/gstdshowaudiodec.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.cpp b/sys/dshowdecwrapper/gstdshowaudiodec.cpp index 74f5fb1d..fae5292d 100644 --- a/sys/dshowdecwrapper/gstdshowaudiodec.cpp +++ b/sys/dshowdecwrapper/gstdshowaudiodec.cpp @@ -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 |