Hi everyone,
I'm using playbin2 to play video and I've add the ability to change
audio track in the player. This doesn't work very well. When I switch
to an other track there's little problem like no sound, need to seek to
have sound again or some little freeze.
So there's a best way to change track ?
Do I need to define the state of the pipeline to PAUSED, change the
audio track and replay again ? Or can I do this on the fly ?
code :
void Player::set_current_audio(int track) {
g_object_set (playbin, "current-audio", track, NULL);
}
Best regards,
kitone
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel