<div dir="ltr">Thanks Mathieu. It is exactly what I was looking for!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 6, 2023 at 1:57 PM Mathieu Duponchelle <<a href="mailto:mathieu@centricular.com">mathieu@centricular.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think<br>
<a href="https://gstreamer.freedesktop.org/documentation/base/gstbasetransform.html?gi-language=c#GST_BASE_TRANSFORM_FLOW_DROPPED" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.org/documentation/base/gstbasetransform.html?gi-language=c#GST_BASE_TRANSFORM_FLOW_DROPPED</a><br>
is relevant ? videorate uses it for instance, it does sound like what<br>
you're looking for :)<br>
<br>
On Thu, 2023-07-06 at 09:57 +0200, Koen Brants via gstreamer-devel<br>
wrote:<br>
> Hi,<br>
> <br>
> I'm looking for a solution for the following problem:<br>
> <br>
> from a single source, I collect a random number of buffers until a<br>
> certain <br>
> rule has been met. I only want to output a buffer afterwards. What<br>
> kind of element<br>
> do I need to create ? I guess a transform element ? <br>
> Can I prevent a transform element to output a buffer ?<br>
> <br>
> Thanks for your help,<br>
> <br>
> <br>
> <br>
> Koen Brants<br>
> Sr. Software Engineer<br>
> Spectricity | <a href="http://www.spectricity.com" rel="noreferrer" target="_blank">www.spectricity.com</a> <br>
> Stationsstraat 55 | B-2800 Mechelen | Belgium<br>
</blockquote></div>