summaryrefslogtreecommitdiff
path: root/sys/qcam/gstqcamsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/qcam/gstqcamsrc.c')
-rw-r--r--sys/qcam/gstqcamsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/qcam/gstqcamsrc.c b/sys/qcam/gstqcamsrc.c
index 76229ac76..2bd3a5855 100644
--- a/sys/qcam/gstqcamsrc.c
+++ b/sys/qcam/gstqcamsrc.c
@@ -148,8 +148,8 @@ gst_qcamsrc_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_qcamsrc_src_factory));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_qcamsrc_src_factory);
gst_element_class_set_details_simple (element_class, "QCam Source",
"Source/Video",
"Read from a QuickCam device", "Wim Taymans <wim.taymans@chello.be>");