Re: [PATCH 1/3] vb2: add buf_validate callback

2018-12-12 Thread Mauro Carvalho Chehab
Em Mon, 3 Dec 2018 13:46:01 +0100 hverkuil-ci...@xs4all.nl escreveu: > From: Hans Verkuil > > Adding the request API uncovered a pre-existing problem with > validating output buffers. > > The problem is that for output buffers the driver has to validate > the 'field' field of struct v4l2_buffe

[PATCH 1/3] vb2: add buf_validate callback

2018-12-03 Thread hverkuil-cisco
From: Hans Verkuil Adding the request API uncovered a pre-existing problem with validating output buffers. The problem is that for output buffers the driver has to validate the 'field' field of struct v4l2_buffer. This is critical when encoding or deinterlacing interlaced video. Drivers always