<div dir="ltr">I have a My-videosrc element, and the HW is handled in such a way that the buffer provided by the video source must be released...&nbsp; eventually.&nbsp; There is an available pool of buffers, so I can afford to send the data pointer through the pipeline and then release it later.&nbsp; I am also trying to avoid unnecessary data copies, so I want to release this video data buffer only when the gstreamer buffer has reached the filesink element and has been recorded to file.<br>
<br>Can I &quot;mark&quot; the gst-buffer somehow, so the filesink will send an upstream event to My-videosrc, at which point I can release the data so the buffer can be re-used by the video hw?<br><br>Is there a &quot;nice&quot; way to do this?&nbsp; Am I barking up the right tree?<br>
<br>Thanks,<br>Topi<br></div>