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 313199 - 'Your first Application' program doesnt work (Hello world)
'Your first Application' program doesnt work (Hello world)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: documentation
git master
Other Linux
: Normal normal
: 0.9.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-11 06:51 UTC by Madhan Raj M
Modified: 2005-08-16 12:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Madhan Raj M 2005-08-11 06:51:27 UTC
Goto
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html

Errors:
ERROR (0x942fc90 - 0:00:00.297299000)         basesrc(11463)
gstbasesrc.c(715):gst_base_src_loop:<file-source> streaming stopped, reason pad
not linked
ERROR (0x942fc90 - 0:00:00.297857000)         basesrc(11463)
gstbasesrc.c(715):gst_base_src_loop:<file-source> streaming stopped, reason pad
not linked

(process:11463): GStreamer-WARNING **: timeout in PREROLL, forcing next state change
Running

Error::streaming stopped, reason pad not linked
Returned

Got the Soultion from Ronald:
Call gst_bin_add_many before linking the elements.
Comment 2 Ronald Bultje 2005-08-16 12:15:27 UTC
2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>

        * docs/manual/advanced-dataaccess.xml:
        * docs/manual/basics-helloworld.xml:
          Fix docs to use _bin_add() before _link(), which fixes the examples
          with recent core versions (reported by Madhan Raj M
          <raj_madan@rediffmail.com>, #313199).