Re: [FFmpeg-devel] [PATCH] avcodec/v4l2_m2m: handle the v4l2 eos event

2020-03-16 Thread BYHYKCHKIO WEIINZWLM
You're welcome. Can this bug help me apply for a CVE? On Tue, Mar 17, 2020 at 12:20 PM Andriy Gelman wrote: > On Mon, 16. Mar 10:03, Ming Qian wrote: > > when the last frame of capture is dequeueed, > > driver may send this V4L2_EVENT_EOS event, > > if this event is received, then we can set the

Re: [FFmpeg-devel] [PATCH] avcodec/v4l2_m2m: handle the v4l2 eos event

2020-03-16 Thread Andriy Gelman
On Mon, 16. Mar 10:03, Ming Qian wrote: > when the last frame of capture is dequeueed, > driver may send this V4L2_EVENT_EOS event, > if this event is received, then we can set the capture port done Please add to your commit message (or something similar depending on what you tested): "Without th

[FFmpeg-devel] [PATCH] avcodec/v4l2_m2m: handle the v4l2 eos event

2020-03-15 Thread Ming Qian
when the last frame of capture is dequeueed, driver may send this V4L2_EVENT_EOS event, if this event is received, then we can set the capture port done Signed-off-by: Ming Qian --- libavcodec/v4l2_context.c | 5 + libavcodec/v4l2_m2m_dec.c | 10 ++ libavcodec/v4l2_m2m_enc.c | 22 ++