GNOME Bugzilla – Bug 556900
a copy & paste bug in helloworld example
Last modified: 2008-10-19 10:14:14 UTC
here's a copy and paste bug in ./gstreamer-0.10.21/tests/examples/helloworld/helloworld.c *** gstreamer-0.10.21/tests/examples/helloworld/helloworld.c 2006-05-18 16:48:21.000000000 +0800 --- gstreamer-0.10.21-new/tests/examples/helloworld/helloworld.c 2008-10-19 09:29:05.000000000 +0800 *************** *** 75,81 **** return -1; } resample = gst_element_factory_make ("audioresample", "audioresample"); ! if (!conv) { g_print ("could not create \"audioresample\" element!"); return -1; } --- 75,81 ---- return -1; } resample = gst_element_factory_make ("audioresample", "audioresample"); ! if (!resample) { g_print ("could not create \"audioresample\" element!"); return -1; }
Fixed, thanks! 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk> Patch by: Dig Ge <dig.ge.cn at gmail com> * tests/examples/helloworld/helloworld.c: (main): Fix copy'n'paste bug in hello world example (#556900).