VIDIOC_STREAMOFF followed by VIDIOC_STREAMON during encode results in subsequent calls to dequeue capture buffer to get stuck

Hi,
Let’s continue discussion in the topic. Please help try the command:
V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE not working with AV1 encoder - #9 by DaneLLL