lame: Don't get the parent class again, GST_BOILERPLATE does this already
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 26 Sep 2011 14:08:20 +0000 (16:08 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 26 Sep 2011 14:08:20 +0000 (16:08 +0200)
ext/lame/gstlame.c
ext/lame/gstlamemp3enc.c

index 5923ee0..349d290 100644 (file)
@@ -373,8 +373,6 @@ gst_lame_class_init (GstLameClass * klass)
   gobject_class = (GObjectClass *) klass;
   base_class = (GstAudioEncoderClass *) klass;
 
-  parent_class = g_type_class_peek_parent (klass);
-
   gobject_class->set_property = gst_lame_set_property;
   gobject_class->get_property = gst_lame_get_property;
   gobject_class->finalize = gst_lame_finalize;
index aec0f39..40f9a6f 100644 (file)
@@ -234,8 +234,6 @@ gst_lamemp3enc_class_init (GstLameMP3EncClass * klass)
   gobject_class = (GObjectClass *) klass;
   base_class = (GstAudioEncoderClass *) klass;
 
-  parent_class = g_type_class_peek_parent (klass);
-
   gobject_class->set_property = gst_lamemp3enc_set_property;
   gobject_class->get_property = gst_lamemp3enc_get_property;
   gobject_class->finalize = gst_lamemp3enc_finalize;