RE: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2015-02-18 Thread Kamil Debski
Hi, From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Wednesday, February 18, 2015 10:58 AM On 02/18/15 10:42, Kamil Debski wrote: Hi Hans, From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Tuesday, February 17, 2015 10:11 AM Hi Kamil, On 12/16/14 12:36, Kamil Debski

RE: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2015-02-18 Thread Kamil Debski
Hi Hans, From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Tuesday, February 17, 2015 10:11 AM Hi Kamil, On 12/16/14 12:36, Kamil Debski wrote: The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior of __fill_vb2_buffer function, so that if bytesused is 0 it is

Re: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2015-02-18 Thread Hans Verkuil
On 02/18/15 10:42, Kamil Debski wrote: Hi Hans, From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Tuesday, February 17, 2015 10:11 AM Hi Kamil, On 12/16/14 12:36, Kamil Debski wrote: The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior of __fill_vb2_buffer

Re: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2015-02-18 Thread Hans Verkuil
On 02/18/15 11:31, Kamil Debski wrote: Hi, From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Wednesday, February 18, 2015 10:58 AM On 02/18/15 10:42, Kamil Debski wrote: Hi Hans, From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Tuesday, February 17, 2015 10:11 AM Hi Kamil, On

Re: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2015-02-17 Thread Hans Verkuil
Hi Kamil, On 12/16/14 12:36, Kamil Debski wrote: The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior of __fill_vb2_buffer function, so that if bytesused is 0 it is set to the size of the buffer. However, bytesused set to 0 is used by older codec drivers as as indication

Re: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2014-12-19 Thread Jean-Michel Hautbois
Hi Kamil, 2014-12-16 12:36 GMT+01:00 Kamil Debski k.deb...@samsung.com: The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior of __fill_vb2_buffer function, so that if bytesused is 0 it is set to the size of the buffer. However, bytesused set to 0 is used by older codec

RE: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2014-12-19 Thread Kamil Debski
Hi Jean, From: Jean-Michel Hautbois [mailto:jhautb...@gmail.com] Sent: Friday, December 19, 2014 3:36 PM To: Kamil Debski Cc: Linux Media Mailing List; m.szyprow...@samsung.com; Hans Verkuil; Nicolas Dufresne Subject: Re: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag

Re: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2014-12-19 Thread Jean-Michel Hautbois
1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags Hi Kamil, 2014-12-16 12:36 GMT+01:00 Kamil Debski k.deb...@samsung.com: The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior of __fill_vb2_buffer function, so that if bytesused is 0 it is set