From: Ronald S. Bultje Date: Tue, 10 Sep 2002 09:31:38 +0000 (+0000) Subject: This updates all plugins to the new API for gst_pad_try_set_caps X-Git-Tag: 1.19.3~509^2~1916^2~175 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d13350692ef6cfbafca2514992f369f2bec3131;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/ext/lame/test-lame.c b/ext/lame/test-lame.c index d0488b5..47d805c 100644 --- a/ext/lame/test-lame.c +++ b/ext/lame/test-lame.c @@ -70,7 +70,7 @@ main (int argc, char *argv[]) gst_element_set_state (pipeline, GST_STATE_READY); g_print ("Setting caps on fakesrc's src pad\n"); - if (! (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), caps))) + if (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), caps) <= 0) g_print ("Could not set caps !\n"); /* request first pad from tee and connect */