How to dynamically change filesrc location and gapless playback and loop using C

dabrain34 scerveau at gmail.com
Wed Aug 12 12:39:54 UTC 2020


Hello,

According to your use case, you can give a try to playbin element and its
signal "about-to-finish".

This signal is triggered when the pipeline is out of data. 
So you just have to set the playbin "uri" property again when you receive
this signal in your application.

Here is an example on how to use it:

https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/blob/master/tools/gst-play.c#L245

Best regards.

Stéphane



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list