How to trigger action on certain position in a stream?

marcin at saepia.net marcin at saepia.net
Sat Jul 27 12:47:02 PDT 2013


Hi,

what is the best way to trigger action on certain position in a stream?

For example I am playing a file via filesrc ! decodebin ! ... , and I would
like to trigger something when it passes 123 ms.

Is there any other way than just setting timeout that queries current
stream position every let's say 10 ms? Kind of event that I can listen to?

Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130727/767ac640/attachment.html>


More information about the gstreamer-devel mailing list