Playbin2 cann't use "about-to-finish" signal to change the uri.
Bug #929264 reported by
charlie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-omap4-extras-multimedia |
Confirmed
|
Undecided
|
Xavier Boudet |
Bug Description
version: Ubuntu11.10
Pipeline:
gst-launch playbin2 uri=file:
Performance:
when I use "about-to-finish" signal of playbin2 to change the uri of next movie,
The next movie cann't play smoothly like usual.
To post a comment you must log in.
Hi here,
Do I have to change the uri in the main thread in the new version ?
My old code likes below:
signal handle: change_ file(GstElement *pipeline, PLAYER_ PLUGIN *player)
static void player_
{
player->uri = get_new_uri();//get the next uri for player
g_object_set (player->pipeline, "uri", player->uri , NULL);
}
in player process: change_ file),player) ;
...
g_signal_connect (player->pipeline, "about-to-finish", G_CALLBACK (player_
...
Is this a bug or my program's mistake?
Eager for your reply!
Regards!
Charlie