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 340392 - Problem with internal-decodebin
Problem with internal-decodebin
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.3
Other All
: Normal blocker
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-02 10:21 UTC by Jono Bacon
Modified: 2006-05-05 11:33 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Jono Bacon 2006-05-02 10:21:47 UTC
Please describe the problem:
In Jokosher, we have a callback that responds to the pad-added signal that hooks
the gnlcomposition to an audioconvert (the audioconvert links to an adder !
level ! alsasink).

The first time we begin playback, it works fine, but when playback is stopped
and started again, this error is displayed:

(Jokosher.py:12740): GStreamer-CRITICAL **: Padname src0 is not unique in
element internal-decodebin, not adding

My assumption is that there is a problem with the dynamic pad on the
composition. The fact that error refers to an internal-decodebin gave me the
impression that this is an internal problem in gnonlin - Jokosher should never
need to concern itself with internal-decodebins.

I have switching GST_DEBUG and created an error log. You can grab this at
http://jonobacon.org/files/jokosher-gnonlinbug-errorlog.gz

To see the Jokosher code, see Project.newPad() for where the pad it added.

Interestingly, this only happens with imported audio. When we record audio, it
works fine.

Steps to reproduce:
1. Grab Jokosher SVN (checked with r294)
2. Create a new project, import some audio and press play - playback works fine.
3. Press play again. Bang! Bug happens.


Actual results:
You see the bug.

Expected results:
Playback should work each time you press Play.

Does this happen every time?
Yes.

Other information:
Comment 1 Wim Taymans 2006-05-05 11:33:36 UTC
        * gst/playback/gstdecodebin.c: (cleanup_decodebin):
        Properly remove ghostpads. Fixes #340392