From e450a33d99419256d555eb822530edc7e8671fd0 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 17 Jul 2006 14:17:45 +0000 Subject: [PATCH] gst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in comment Original commit message from CVS: 2006-07-17 Thomas Vander Stichele * 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 | 2 -- gst/gdp/gstgdppay.c | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index 21d6c73..d3071a7 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -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); diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index 36585a0..26eaab6 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -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 ? */ } } -- 2.7.4