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 319573 - [cdplayer] Internal GStreamer error: pad problem.
[cdplayer] Internal GStreamer error: pad problem.
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.11
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-24 05:09 UTC by Ken Harris
Modified: 2005-10-24 08:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Ken Harris 2005-10-24 05:09:39 UTC
Please describe the problem:
I tried to use gst-launch to play the contents of a music CD.  I don't know
exactly what to expect, but it printed the message "Internal GStreamer error:
pad problem.  File a bug.", so here I am.

Steps to reproduce:
1. Open a Terminal window
2. Type the command "gst-launch cdplayer device=/dev/cdroms/cdrom0 ! spider !
esdsink"
3. (but replace /dev/cdroms/cdrom0 with the device name for your CD-ROM drive)

Actual results:
$ gst-launch cdplayer device=/dev/cdroms/cdrom0 ! spider ! esdsink
WARNING: erroneous pipeline: could not link cdplayer0 to spider0
         Trying to run anyway.
RUNNING pipeline ...
ERROR: from element /pipeline0/spider0/sink_ident: Internal GStreamer error: pad
problem.  File a bug.
Additional debug info:
gstpad.c(3377): gst_pad_pull: /pipeline0/spider0/sink_ident:
pull on pad sink_ident:sink but it was unlinked
Execution ended after 1 iterations (sum 44599000 ns, average 44599000 ns, min
44599000 ns, max 44599000 ns).


Expected results:
Either a normal "pipeline didn't want to run" error, or (even better) start
playing the music CD.

Does this happen every time?
Yes, it's 100% repeatable.

Other information:
I have a music CD in the drive.  When I type this command, the light on the
drive blinks.  I use this drive in other programs regularly.
Comment 1 Tim-Philipp Müller 2005-10-24 08:00:20 UTC
I think you're looking at the wrong plugin for your purposes. Try

  % gst-inspect-0.8 cdplayer

and note how the plugin doesn't have any source pads. The 'cdplayer' plugin is a
self-contained plugin that controls the CD drive and makes it play music via the
CD-drive-to-soundcard audio cable. It does not extract CD audio data, for that
use the cdparanoia plugin or the cddasrc/cdio plugin (I recommend the latter,
it's much easier to use).

Try something like this:

  % gst-launch-0.8 cddasrc track=1 device=/dev/foobar ! audioconvert !
audioscale ! esdsink


Cheers
 -Tim