Skip to content

v4l2videodec: Make sure output buffer is queued before starting src task

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

For streams that need orphaning after first seek, capture buffer pool is streamoff and inactive, while output buffer is streamon. After second seek, output will be streamoff but active. Then capture queue try to poll event when both queues are empty, which causes poll error.

To avoid poll error, need to make sure output buffer is queued before starting src task.

Merge request reports