From 0b497b1634b097988451b70aca5bf4190b81c01f Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Tue, 10 Sep 2002 09:31:40 +0000 Subject: 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 --- gst/effectv/gstedge.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gst/effectv/gstedge.c') diff --git a/gst/effectv/gstedge.c b/gst/effectv/gstedge.c index dd0b1b79..2879b868 100644 --- a/gst/effectv/gstedge.c +++ b/gst/effectv/gstedge.c @@ -148,11 +148,7 @@ gst_edgetv_sinkconnect (GstPad * pad, GstCaps * caps) filter->map = (guint32 *)g_malloc (filter->map_width * filter->map_height * sizeof(guint32) * 2); bzero(filter->map, filter->map_width * filter->map_height * sizeof(guint32) * 2); - 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 -- cgit