How to do lengthy processing in an element

philippe renon philippe_renon at yahoo.fr
Fri Dec 2 16:30:46 UTC 2016


Hi,
I have an element that needs, at some point in time after analyzing a number of frames, to do a lengthy processing. Currently it is done in the chain() method, stalling the pipeline, but could be done asynchronously.
Does gstreamer have facilities for launching some task in a separate thread and make the result available to the element once done, all this without having to muck with threads, locks, etc... ?

Cheers,Philippe.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161202/7e655a9e/attachment-0001.html>


More information about the gstreamer-devel mailing list