Does "about-to-finish" signal work for video files?
Rossana Guerra
guerra.rossana at gmail.com
Tue Feb 28 09:25:25 PST 2012
Hi, thanks for the response, interesting tip. I´ll need to work around a
little in some concepts before trying it.
Cheers!
Rossana
2012/2/28 forestzhu <forest0823 at 126.com>
> Hi Rossana,
> My method is a temporary solution.
> You should push the plugin-developer to fix the bug.
>
> 1.Build a listening thread in the main process before build the pipeline
> 2.In the "about-to-finish" signal handle send a message to the listening
> thread.
> 3.In the listening thread change the uri of playbin2.
>
> static void player_change_uri (PLAYER *player)
> {
> gst_element_set_state(player->pipeline,GST_STATE_READY);
> g_object_set (player->pipeline, "uri", get_new_uri(), NULL);
> gst_element_set_state(player->pipeline,GST_STATE_PLAYING);
> }
>
> Regards!
>
> forrest
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Does-about-to-finish-signal-work-for-video-files-tp4415640p4426702.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120228/77402ba4/attachment.htm>
More information about the gstreamer-devel
mailing list