diff options
Diffstat (limited to 'gst/effectv/gstdice.c')
-rw-r--r-- | gst/effectv/gstdice.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c index a46f1b2f..726224ea 100644 --- a/gst/effectv/gstdice.c +++ b/gst/effectv/gstdice.c @@ -170,11 +170,7 @@ gst_dicetv_sinkconnect (GstPad * pad, GstCaps * caps) filter->dicemap = (gchar *) g_malloc (filter->height * filter->width * sizeof(char)); gst_dicetv_create_map (filter); - if (gst_pad_try_set_caps (filter->srcpad, caps)) { - return GST_PAD_CONNECT_OK; - } - - return GST_PAD_CONNECT_REFUSED; + return gst_pad_try_set_caps (filter->srcpad, caps); } static void |