summaryrefslogtreecommitdiffstats
path: root/sys/qcam
diff options
context:
space:
mode:
Diffstat (limited to 'sys/qcam')
-rw-r--r--sys/qcam/gstqcamsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/qcam/gstqcamsrc.c b/sys/qcam/gstqcamsrc.c
index ed1afe98..22ab35ca 100644
--- a/sys/qcam/gstqcamsrc.c
+++ b/sys/qcam/gstqcamsrc.c
@@ -245,7 +245,7 @@ gst_qcamsrc_get (GstPad *pad)
qc_set (qcamsrc->qcam);
if (!GST_PAD_CAPS (pad)) {
- gst_pad_set_caps (pad, GST_CAPS_NEW (
+ gst_pad_try_set_caps (pad, GST_CAPS_NEW (
"qcam_caps",
"video/raw",
"format", GST_PROPS_FOURCC (GST_STR_FOURCC ("I420")),