Skip to content

v4l2bufferpool: queue back the buffer flagged LAST but empty

Qi Hou requested to merge hq/gstreamer:v4l2bufferpool into main

Some decoder drivers need to wait enough capture buffers before starting to decode. But the dequeued buffer flag LAST but empty has no chance to queue back to driver, which may cause decoder hang after seek. It may also cause memory leak when looping playback one stream.

So need to queue back such kind of buffer to driver.

Merge request reports