diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2002-09-10 09:31:40 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2002-09-10 09:31:40 +0000 |
commit | 2c5496eb74498afc6ff26e47773af43239a07abd (patch) | |
tree | d246cf3070c309a87325709fd05169b553b0024e /gst/playondemand | |
parent | af558bdc6f39c680689423d98d2b60e7fd7a4c81 (diff) | |
download | gst-plugins-bad-2c5496eb74498afc6ff26e47773af43239a07abd.tar.gz gst-plugins-bad-2c5496eb74498afc6ff26e47773af43239a07abd.tar.bz2 gst-plugins-bad-2c5496eb74498afc6ff26e47773af43239a07abd.zip |
This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS:
This updates all plugins to the new API for gst_pad_try_set_caps
Diffstat (limited to 'gst/playondemand')
-rw-r--r-- | gst/playondemand/gstplayondemand.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/playondemand/gstplayondemand.c b/gst/playondemand/gstplayondemand.c index 87a840de..4eeab9e1 100644 --- a/gst/playondemand/gstplayondemand.c +++ b/gst/playondemand/gstplayondemand.c @@ -162,9 +162,8 @@ play_on_demand_pad_connect (GstPad *pad, GstCaps *caps) } } - if (GST_CAPS_IS_FIXED (caps) && ! gst_pad_try_set_caps (filter->srcpad, caps)) - return GST_PAD_CONNECT_REFUSED; - + if (GST_CAPS_IS_FIXED (caps)) + return gst_pad_try_set_caps (filter->srcpad, caps); return GST_PAD_CONNECT_DELAYED; } |