On 08/03/2017 01:53 AM, Mark Thompson wrote:
+ if (ret)
+ return 0;
+
+ return avpriv_v4l_dequeue(cap_pool, frame, NULL, timeout);
I feel like if the stream has a lot of delay then you will end up needing to
wait for the timeout to get the required EAGAIN, which at 1s is very large.
(Though I think you won't in common cases because of the min_queued_buffers
constraint in dequeue.)
+}
yes, you are correct. fixed on v4
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel