<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The handoff will be emitted for every buffer and won’t drop buffers. Recall, however, that signals block. I suspect that you have an indirect buffer drop on nvcamerasrc.<div class=""><br class=""></div><div class="">Nvcamera src has an internal (limited) buffer queue. If you block the processing on the signal callback for too long, the queue will start filling up and, eventually, drop buffers. I believe that you can increase this queue size a lot, but if your signal processing takes more than 33ms (assuming a 30fps capture), eventually you’ll end up losing buffers in the same way.</div><div class=""><br class=""></div><div class="">Make sure the processing your are doing on the callback actually is below your period deadline. If it’s below, but high, I recommend adding a queue after the identity to split processing in different threads. </div><div class=""><br class=""></div><div class="">Michael</div><div class=""><a href="http://www.ridgerun.com" class="">www.ridgerun.com</a></div><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 8, 2019, at 3:40 PM, pisymbol . <<a href="mailto:pisymbol@gmail.com" class="">pisymbol@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Is this true?</div><div class=""><br class=""></div><div class="">So if I have a source like this:</div><div class=""><br class=""></div><div class="">nvcamerasrc ! identity name=tap ! magicunicorns ! ...</div><div class=""><br class=""></div><div class="">Can tap's "handoff" callback cause frame drops in the pipe/source? Or is it that the "handoff" function won't see every frame no matter what I do? I'm talking fixed 30fps here which isn't THAT fast.</div><div class=""><br class=""></div><div class="">I thought "identity" was the safest way to tape the pipe (I need to get all the buffers to extra some metadata out of each one etc.).</div><div class=""><br class=""></div><div class="">If it can cause a drop, should I try to use tee/queue idiom to see all the buffers?<br class=""></div><div class=""><br class=""></div><div class="">Thanks!<br class=""></div><div class=""><br class=""></div><div class="">-aps<br class=""></div></div>
_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</div></blockquote></div><br class=""></div></div></body></html>