summaryrefslogtreecommitdiff
path: root/sys/applemedia/celvideosrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/applemedia/celvideosrc.c')
-rw-r--r--sys/applemedia/celvideosrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/applemedia/celvideosrc.c b/sys/applemedia/celvideosrc.c
index 2ef107631..6ea15e88f 100644
--- a/sys/applemedia/celvideosrc.c
+++ b/sys/applemedia/celvideosrc.c
@@ -833,7 +833,8 @@ gst_cel_video_src_base_init (gpointer gclass)
"Reads frames from an iOS Celestial device",
"Ole André Vadla Ravnås <oravnas@cisco.com>");
- gst_element_class_add_static_pad_template (element_class, &src_template);
+ gst_element_class_add_pad_template (element_class,
+ gst_static_pad_template_get (&src_template));
}
static void