diff options
Diffstat (limited to 'gst/median/gstmedian.c')
-rw-r--r-- | gst/median/gstmedian.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gst/median/gstmedian.c b/gst/median/gstmedian.c index 2e8710a94..4e4dd496e 100644 --- a/gst/median/gstmedian.c +++ b/gst/median/gstmedian.c @@ -138,10 +138,7 @@ gst_median_sinkconnect (GstPad *pad, GstCaps *caps) gst_caps_get_int (caps, "height", &filter->height); /* forward to the next plugin */ - if (!gst_pad_try_set_caps(filter->srcpad, gst_caps_copy_1(caps))) - return GST_PAD_CONNECT_REFUSED; - - return GST_PAD_CONNECT_OK; + return gst_pad_try_set_caps(filter->srcpad, gst_caps_copy_1(caps)); } void gst_median_init (GstMedian *median) |