summaryrefslogtreecommitdiff
path: root/gst/inter/gstintervideosrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/inter/gstintervideosrc.c')
-rw-r--r--gst/inter/gstintervideosrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c
index 3a805c0c8..04d965530 100644
--- a/gst/inter/gstintervideosrc.c
+++ b/gst/inter/gstintervideosrc.c
@@ -107,8 +107,8 @@ gst_inter_video_src_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_static_pad_template (element_class,
- &gst_inter_video_src_src_template);
+ gst_element_class_add_pad_template (element_class,
+ gst_static_pad_template_get (&gst_inter_video_src_src_template));
gst_element_class_set_details_simple (element_class, "FIXME Long name",
"Generic", "FIXME Description", "FIXME <fixme@example.com>");