diff options
Diffstat (limited to 'gst/sdi/gstsdidemux.c')
-rw-r--r-- | gst/sdi/gstsdidemux.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gst/sdi/gstsdidemux.c b/gst/sdi/gstsdidemux.c index 7af936bdd..968525aec 100644 --- a/gst/sdi/gstsdidemux.c +++ b/gst/sdi/gstsdidemux.c @@ -105,10 +105,10 @@ gst_sdi_demux_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_sdi_demux_src_template)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_sdi_demux_sink_template)); + gst_element_class_add_static_pad_template (element_class, + &gst_sdi_demux_src_template); + gst_element_class_add_static_pad_template (element_class, + &gst_sdi_demux_sink_template); gst_element_class_set_details_simple (element_class, "SDI Demuxer", @@ -364,7 +364,6 @@ gst_sdi_demux_chain (GstPad * pad, GstBuffer * buffer) if (sdidemux->output_buffer == NULL) { gst_sdi_demux_get_output_buffer (sdidemux); } - #if 0 if (sdidemux->offset) { int n; |