<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 9 mars 2017 9:51 AM, "Andrew Grace" <<a href="mailto:apenngrace@gmail.com">apenngrace@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there any recommended reading on threading and how it is handled with gstreamer?<br>
<br>
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.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">GstBaseSrc is a base class that handle source threading for you.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'd appreciate any advice.  Thanks!<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br></div></div></div>