]> git.sesse.net Git - ffmpeg/commit
avcodec/v4l2_context: use EAGAIN to signal when input buffers are unavailable
authorAman Gupta <aman@tmm1.net>
Wed, 28 Aug 2019 23:42:46 +0000 (16:42 -0700)
committerAman Gupta <aman@tmm1.net>
Mon, 2 Sep 2019 22:08:34 +0000 (15:08 -0700)
commitc95b1277332a818ab177978a248a1a7133550bcb
treed56f2ec0f09b29871242e4729ef57da27b7ba8df
parentda45ad48f9935a3264e9a6d85127dcaf0eee38b3
avcodec/v4l2_context: use EAGAIN to signal when input buffers are unavailable

ENOMEM indicates an allocation failure, and there are no allocations
happening here. The buffers are pre-allocated and there are simply
none available at this time.

Signed-off-by: Aman Gupta <aman@tmm1.net>
libavcodec/v4l2_context.c
libavcodec/v4l2_m2m_dec.c