gst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in comment
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 17 Jul 2006 14:17:45 +0000 (14:17 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 11 Sep 2012 00:54:29 +0000 (01:54 +0100)
Original commit message from CVS:
2006-07-17  Thomas Vander Stichele  <thomas at apestaart dot org>

* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_class_init):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
remove parent_class setting, BOILERPLATE does this
(gst_gdp_pay_reset_streamheader):
fix typo in comment

gst/gdp/gstgdpdepay.c
gst/gdp/gstgdppay.c

index 21d6c73..d3071a7 100644 (file)
@@ -109,8 +109,6 @@ gst_gdp_depay_class_init (GstGDPDepayClass * klass)
   gobject_class = (GObjectClass *) klass;
   gstelement_class = (GstElementClass *) klass;
 
-  parent_class = g_type_class_peek_parent (klass);
-
   gstelement_class->change_state =
       GST_DEBUG_FUNCPTR (gst_gdp_depay_change_state);
   gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_gdp_depay_finalize);
index 36585a0..26eaab6 100644 (file)
@@ -119,8 +119,6 @@ gst_gdp_pay_class_init (GstGDPPayClass * klass)
   gobject_class = (GObjectClass *) klass;
   gstelement_class = (GstElementClass *) klass;
 
-  parent_class = g_type_class_peek_parent (klass);
-
   gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_gdp_pay_set_property);
   gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_gdp_pay_get_property);
   gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_gdp_pay_dispose);
@@ -349,7 +347,7 @@ gst_gdp_pay_reset_streamheader (GstGDPPay * this)
         gst_value_array_append_value (&array, &value);
         g_value_unset (&value);
       }
-      /* FIXME: if one or more in this loop fail to produce and outbuffer,
+      /* FIXME: if one or more in this loop fail to produce an outbuffer,
        * should we error out ? Once ? Every time ? */
     }
   }