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 615085 - [playbin2] "current-video" property does not work
[playbin2] "current-video" property does not work
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 613765
 
 
Reported: 2010-04-07 17:43 UTC by Bastien Nocera
Modified: 2010-05-04 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2010-04-07 17:43:48 UTC
Using the test video at:
http://daten.dieweltistgarnichtso.net/video/testbild2-stereo.ogv
from bug 613765

The playbin2 will (almost all the time) only play the first video track. On one occasion, it played the 2nd video track, but I could not reproduce afterwards.

gst-launch-0.10 playbin2 current-video=0 uri=file://`pwd`/testbild2-stereo.ogv
and
gst-launch-0.10 playbin2 current-video=1 uri=file://`pwd`/testbild2-stereo.ogv

should show different video.

You can see what they're supposed to look like with:
gst-launch-0.10 filesrc location=testbild2-stereo.ogv ! decodebin name=d ! queue ! xvimagesink d. ! queue ! xvimagesink
Comment 1 Sebastian Dröge (slomo) 2010-04-19 15:30:38 UTC
If you use gst-plugins-base/tests/examples/seek on that video, you can select between both video streams without problems.

I don't think playbin2 supports setting the current-{audio,video,text} properties before being in PAUSED. Also the order of the a/v/t streams is not really deterministic (it's the order in which they have the first decoded frame) and they should be differentiated by their tags/caps.
Comment 2 Sebastian Dröge (slomo) 2010-04-30 08:54:20 UTC
Anything that needs to be done here Bastien?
Comment 3 Bastien Nocera 2010-05-04 16:13:45 UTC
I guess not.
Comment 4 Sebastian Dröge (slomo) 2010-05-04 16:46:56 UTC
Ok then let's close this bug :)