[FFmpeg-devel] [PATCHv3 4/4] libavcodec: v4l2: add support for v4l2 mem2mem codecs

Jorge Ramirez jorge.ramirez-ortiz at linaro.org
Mon Aug 7 22:21:09 EEST 2017


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


More information about the ffmpeg-devel mailing list