diff options
Diffstat (limited to 'gst/cdxaparse/gstcdxastrip.c')
-rw-r--r-- | gst/cdxaparse/gstcdxastrip.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/cdxaparse/gstcdxastrip.c b/gst/cdxaparse/gstcdxastrip.c index 00124b30..80bf7c87 100644 --- a/gst/cdxaparse/gstcdxastrip.c +++ b/gst/cdxaparse/gstcdxastrip.c @@ -116,14 +116,12 @@ gst_cdxastrip_init (GstCDXAStrip * cdxastrip) GST_OBJECT_FLAG_SET (cdxastrip, GST_ELEMENT_EVENT_AWARE); cdxastrip->sinkpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&sink_template_factory), "sink"); + gst_pad_new_from_static_template (&sink_template_factory, "sink"); gst_pad_set_chain_function (cdxastrip->sinkpad, gst_cdxastrip_chain); gst_element_add_pad (GST_ELEMENT (cdxastrip), cdxastrip->sinkpad); cdxastrip->srcpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&src_template_factory), "src"); + gst_pad_new_from_static_template (&src_template_factory, "src"); gst_pad_set_formats_function (cdxastrip->srcpad, gst_cdxastrip_get_src_formats); gst_pad_set_event_mask_function (cdxastrip->srcpad, |