1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavcodec
Andriy Gelman 2a9d623561 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>
2020-04-30 11:00:15 -04:00
..
2020-04-25 20:39:25 +02:00
2020-04-26 18:38:25 +01:00
2020-03-12 20:26:48 +00:00
2020-03-12 20:26:48 +00:00
2020-03-22 11:55:44 -03:00
2020-04-26 18:38:25 +01:00
2020-04-26 18:38:25 +01:00
2020-03-17 16:07:25 +01:00
2020-03-31 20:12:15 +02:00
2020-04-26 18:38:25 +01:00
2020-04-26 18:38:25 +01:00
2020-03-17 22:46:36 +01:00
2020-04-17 19:34:02 +10:00
2020-03-17 22:46:36 +01:00
2020-04-16 15:05:07 -03:00
2020-04-26 18:38:25 +01:00
2020-04-04 23:26:15 +02:00
2020-04-04 23:26:15 +02:00
2020-04-26 18:38:25 +01:00
2020-04-26 18:38:25 +01:00
2020-04-17 19:33:43 +10:00
2020-04-26 18:38:25 +01:00
2020-04-26 18:38:25 +01:00
2020-04-16 15:05:07 -03:00
2020-03-22 11:55:44 -03:00