tiomap-dev team mailing list archive
-
tiomap-dev team
-
Mailing list archive
-
Message #01192
[Bug 929264] Re: Playbin2 cann't use "about-to-finish" signal to change the uri.
Hi here,
Do I have to change the uri in the main thread in the new version ?
My old code likes below:
signal handle:
static void player_change_file(GstElement *pipeline,PLAYER_PLUGIN *player)
{
player->uri = get_new_uri();//get the next uri for player
g_object_set (player->pipeline, "uri", player->uri , NULL);
}
in player process:
...
g_signal_connect (player->pipeline, "about-to-finish", G_CALLBACK (player_change_file),player);
...
Is this a bug or my program's mistake?
Eager for your reply!
Regards!
Charlie
--
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to ubuntu-omap4-extras-multimedia.
https://bugs.launchpad.net/bugs/929264
Title:
Playbin2 cann't use "about-to-finish" signal to change the uri.
Status in OMAP4 Ubuntu Multimedia addons:
New
Bug description:
version: Ubuntu11.10
Pipeline:
gst-launch playbin2 uri=file:///1080p.mov video-sink="pvrvideosink force-aspect-ratio=TRUE"
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/929264/+subscriptions
References