Long delay switching media mid-stream.
Brendan Long
self at brendanlong.com
Wed Jun 5 14:14:32 PDT 2013
If you're using playbin, you can just add a callback on the
"about-to-finish" signal, and then set a new "uri".
On 06/04/2013 03:13 PM, Stirling Westrup wrote:
> Right now when my application is playing video files in succession
> there is only a momentary pause between the end of one and the start
> of another.
>
> Just today I put in an option to abort the currently playing file and
> move on to the next one. I did this in an entirely naive way, by just
> calling g_main_loop_quit as if I had received an EOS message, and
> letting my code select the next file in the sequence and setting
> element properties accordingly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130605/62b02384/attachment.pgp>
More information about the gstreamer-devel
mailing list