diff options
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; } |