diff options
author | Andriy Gelman <andriy.gelman@gmail.com> | 2020-04-30 10:58:37 -0400 |
---|---|---|
committer | Andriy Gelman <andriy.gelman@gmail.com> | 2020-04-30 11:00:15 -0400 |
commit | 2a9d62356152d4ef079416101664f26d2562c681 (patch) | |
tree | d504f231044117a802a4b4718342e54c87685ae6 /libavfilter/transform.c | |
parent | c810a9502cebe32e1dd08ee3d0d17053dde44aa9 (diff) | |
download | ffmpeg-2a9d62356152d4ef079416101664f26d2562c681.tar.gz |
avcodec/v4l2_context: Log warning when all capture buffers are in userspace
v4l2_m2m uses device memory mapped buffers to store dequeued
frames/packets (reference counted by AVBufferRef). When the reference
count drops to zero, the buffer ownership is returned back to the
device, so that they can re-filled with frames/packets.
There are some cases when all the capture buffers are in userspace
(i.e. due to internal buffering in ffmpeg). On the s5p-mfc this causes
an infinite wait when polling to dequeue the buffers, which can be
prevented by increasing the total number of buffers. This commit adds a
warning when all the capture buffers are dequeued.
Reviewed-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Diffstat (limited to 'libavfilter/transform.c')
0 files changed, 0 insertions, 0 deletions