From 93e9ac34a1058caab1ef680071874d620a10d132 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 13 Jan 2002 22:27:25 +0000 Subject: Bring the plugins in sync with the new core capsnego system. Original commit message from CVS: Bring the plugins in sync with the new core capsnego system. Added some features, enhancements... --- sys/qcam/gstqcamsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/qcam') 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")), -- cgit v1.2.1