After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 556900 - a copy & paste bug in helloworld example
a copy & paste bug in helloworld example
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal trivial
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-19 01:41 UTC by Dig Ge
Modified: 2008-10-19 10:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dig Ge 2008-10-19 01:41:42 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;
    }
Comment 1 Tim-Philipp Müller 2008-10-19 10:14:14 UTC
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).