From 97454065ce4921877100d0f829d4638438424dfe 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/oss/gstosssrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/oss/gstosssrc.c') diff --git a/sys/oss/gstosssrc.c b/sys/oss/gstosssrc.c index f0f98492..8bf48144 100644 --- a/sys/oss/gstosssrc.c +++ b/sys/oss/gstosssrc.c @@ -385,7 +385,7 @@ gst_osssrc_sync_parms (GstOssSrc *osssrc) (osssrc->channels == 2) ? "stereo" : "mono", ispace.bytes, frag); /* set caps on src pad */ - gst_pad_set_caps (osssrc->srcpad, gst_caps_new ( + gst_pad_try_set_caps (osssrc->srcpad, gst_caps_new ( "oss_src", "audio/raw", gst_props_new ( -- cgit