New to threading

philippe renon philippe_renon at yahoo.fr
Fri Mar 10 08:18:40 UTC 2017


Did you see this : https://gstreamer.freedesktop.org/documentation/application-development/advanced/threads.html
 

    Le Vendredi 10 mars 2017 2h50, Nicolas Dufresne <nicolas at ndufresne.ca> a écrit :
 

 

Le 9 mars 2017 9:51 AM, "Andrew Grace" <apenngrace at gmail.com> a écrit :

Is there any recommended reading on threading and how it is handled with gstreamer?

I'm interested because I'm working on a source element for a camera (the point grey ladybug camera which has a C api).  I'm somewhat new to this, so I am wondering if an element that will act as a pipeline source needs to run on a background thread if it has a blocking api.  From the camera docs, it says it can run in isochronous or asynchronous mode.  The isochronous mode blocks, but from what I understand should have better performance.


GstBaseSrc is a base class that handle source threading for you.



I'd appreciate any advice.  Thanks!
______________________________ _________________
gstreamer-devel mailing list
gstreamer-devel at lists. freedesktop.org
https://lists.freedesktop.org/ mailman/listinfo/gstreamer- devel


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


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


More information about the gstreamer-devel mailing list