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 | 0b497b1634b097988451b70aca5bf4190b81c01f (patch) | |
tree | 26ce2f5d73e89d98f284f097727221f777ab4117 /gst/cutter | |
parent | dc3b48f77c977d055efa550f01d691d2c4ec110f (diff) |
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/cutter')
-rw-r--r-- | gst/cutter/gstcutter.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c index e8d8e0158..87321373a 100644 --- a/gst/cutter/gstcutter.c +++ b/gst/cutter/gstcutter.c @@ -119,12 +119,7 @@ gst_cutter_connect (GstPad *pad, GstCaps *caps) otherpad = (pad == filter->srcpad ? filter->sinkpad : filter->srcpad); if (GST_CAPS_IS_FIXED (caps)) - { - if (!gst_pad_try_set_caps (otherpad, caps)) - return GST_PAD_CONNECT_REFUSED; - - return GST_PAD_CONNECT_OK; - } + return gst_pad_try_set_caps (otherpad, caps); return GST_PAD_CONNECT_DELAYED; } |