summaryrefslogtreecommitdiffstats
path: root/gst/oldcore
diff options
context:
space:
mode:
Diffstat (limited to 'gst/oldcore')
-rw-r--r--gst/oldcore/gstmultifilesrc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/oldcore/gstmultifilesrc.c b/gst/oldcore/gstmultifilesrc.c
index 74f0cee1..4dbd75d1 100644
--- a/gst/oldcore/gstmultifilesrc.c
+++ b/gst/oldcore/gstmultifilesrc.c
@@ -130,9 +130,7 @@ gst_multifilesrc_init (GstMultiFileSrc * multifilesrc,
{
/* GST_OBJECT_FLAG_SET (filesrc, GST_SRC_); */
- multifilesrc->srcpad =
- gst_pad_new_from_template (gst_static_pad_template_get (&srctemplate),
- "src");
+ multifilesrc->srcpad = gst_pad_new_from_static_template (&srctemplate, "src");
gst_pad_set_get_function (multifilesrc->srcpad, gst_multifilesrc_get);
/* gst_pad_set_getregion_function (multifilesrc->srcpad,gst_multifilesrc_get_region); */
gst_element_add_pad (GST_ELEMENT (multifilesrc), multifilesrc->srcpad);