diff options
Diffstat (limited to 'gst/gdp')
-rw-r--r-- | gst/gdp/gstgdpdepay.c | 8 | ||||
-rw-r--r-- | gst/gdp/gstgdppay.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index b779a8550..78524f073 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -110,10 +110,10 @@ gst_gdp_depay_class_init (GstGDPDepayClass * klass) "Depayloads GStreamer Data Protocol buffers", "Thomas Vander Stichele <thomas at apestaart dot org>"); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gdp_depay_sink_template)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gdp_depay_src_template)); + gst_element_class_add_static_pad_template (gstelement_class, + &gdp_depay_sink_template); + gst_element_class_add_static_pad_template (gstelement_class, + &gdp_depay_src_template); gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_gdp_depay_change_state); diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index b4284624a..6b55895b0 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -117,10 +117,10 @@ gst_gdp_pay_class_init (GstGDPPayClass * klass) "Payloads GStreamer Data Protocol buffers", "Thomas Vander Stichele <thomas at apestaart dot org>"); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gdp_pay_sink_template)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gdp_pay_src_template)); + gst_element_class_add_static_pad_template (gstelement_class, + &gdp_pay_sink_template); + gst_element_class_add_static_pad_template (gstelement_class, + &gdp_pay_src_template); gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_gdp_pay_change_state); } |