GNOME Bugzilla – Bug 319573
[cdplayer] Internal GStreamer error: pad problem.
Last modified: 2005-10-24 08:00:20 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.
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