How to do lengthy processing in an element
Sebastian Dröge
sebastian at centricular.com
Fri Dec 9 09:57:48 UTC 2016
On Fri, 2016-12-09 at 09:50 +0000, philippe renon wrote:
> Answering my own question : gst_element_async_call() seems to fit the
> bill.
That's more for one-shot, simple tasks that don't take are not
continuously running. Like if you have to do some action on your
element from a non-streaming thread.
For long-running tasks that are just the element processing, you should
consider starting a new thread.
--
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: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161209/b33ee53f/attachment.sig>
More information about the gstreamer-devel
mailing list