GNOME Bugzilla – Bug 571813
playbin2 doesn't forward tags to custom audio-sink
Last modified: 2009-02-19 12:04:46 UTC
According to the GStreamer docs, it is possible to create container elements that look like a sink to playbin, but in reality contain a number of custom elements linked together. This is achieved by making a GstBin, containing a DSP-chain with a ghost pad. But if I create a Bin which contains an "rgvolume" element, that modifies audio output level based on received TAG events, it doesn't work in playbin2. (But works with the classic playbin). Other events/downstream messages probably are not forwarded as well. I'm attaching a (python) test application to this bug. If "playbin2" at line 45 is replaced with "playbin", the volume is normalized as expected: there's a different sound level and a proper "target-gain" value is printed to the console.
Created attachment 128763 [details] minitap_plmini.py
Just for convenience, here's test file, containing some ReplayGain data, to run with the script above: http://artfwo.googlepages.com/commander.ogg (a free track by Riku Nuottajärvi)
this seems to work fine in CVS. What version of gst-plugins-bad do you have?
Name: selector Description: input/output stream selector elements Filename: /usr/lib/gstreamer-0.10/libgstselector.so Version: 0.10.10 License: LGPL Source module: gst-plugins-bad Binary package: GStreamer Bad Plugins (Ubuntu)
And indeed, the sink works correctly with gst-plugins-bad from git.