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/effectv/gstdice.c | |
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/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 |