summaryrefslogtreecommitdiff
path: root/sys/vcd/vcdsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vcd/vcdsrc.c')
-rw-r--r--sys/vcd/vcdsrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vcd/vcdsrc.c b/sys/vcd/vcdsrc.c
index 553e264cc..5ce58d870 100644
--- a/sys/vcd/vcdsrc.c
+++ b/sys/vcd/vcdsrc.c
@@ -99,7 +99,8 @@ gst_vcdsrc_base_init (gpointer g_class)
"Source/File",
"Asynchronous read from VCD disk", "Erik Walthinsen <omega@cse.ogi.edu>");
- gst_element_class_add_static_pad_template (element_class, &srctemplate);
+ gst_element_class_add_pad_template (element_class,
+ gst_static_pad_template_get (&srctemplate));
}
static void