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/law/mulaw-encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/law/mulaw-encode.c') diff --git a/gst/law/mulaw-encode.c b/gst/law/mulaw-encode.c index 5d9090f5..23648780 100644 --- a/gst/law/mulaw-encode.c +++ b/gst/law/mulaw-encode.c @@ -65,7 +65,7 @@ mulawenc_negotiate_sink (GstPad *pad, GstCaps **caps, gint counter) gst_caps_set(tempcaps,"width",GST_PROPS_INT(8)); gst_caps_set(tempcaps,"signed",GST_PROPS_BOOLEAN(FALSE)); - if (gst_pad_try_set_caps (mulawenc->srcpad, tempcaps)) + if (gst_pad_try_set_caps (mulawenc->srcpad, tempcaps) > 0) { return GST_PAD_NEGOTIATE_AGREE; } -- cgit