seek event in a pipeline with multiple source bins

Sebastian Dröge sebastian at centricular.com
Mon Jun 27 07:39:57 UTC 2016


On Sa, 2016-06-25 at 08:30 -0600, Natanael Mojica wrote:
> 
> all the pipeline works fine until a filesrc bin finish the read a
> file and send a eos, and I need the file is playing every time, from
> begining until the end and from the begining again, every time until
> the bin will deleted from the aplication thread.

Try using SEGMENT seeks for looping. You can find a short example here:
https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/icles/test-segment-seeks.c

This skips forward with seeks but it can be trivially adjusted to loop
the seek segment instead by using different seek positions.

-- 

Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160627/7ee01aae/attachment.sig>


More information about the gstreamer-devel mailing list