diff options
Diffstat (limited to 'gst/gdp/gstgdpdepay.c')
-rw-r--r-- | gst/gdp/gstgdpdepay.c | 8 |
1 files changed, 4 insertions, 4 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); |