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/goom/gstgoom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/goom') diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 506ec82c..05d02b29 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -268,7 +268,7 @@ gst_goom_chain (GstPad *pad, GstBuffer *bufin) "height", GST_PROPS_INT (goom->height) ); - if (!gst_pad_try_set_caps (goom->srcpad, caps)) { + if (gst_pad_try_set_caps (goom->srcpad, caps) <= 0) { gst_element_error (GST_ELEMENT (goom), "could not set caps"); return; } -- cgit