Re: [PATCH 1/2] [media] coda: fix sequence counter increment

2015-08-02 Thread Zahari Doychev
On Tue, Jul 28, 2015 at 12:25:31PM +0200, Philipp Zabel wrote: > Am Dienstag, den 28.07.2015, 10:54 +0200 schrieb Hans Verkuil: > > On 07/08/2015 05:49 PM, Philipp Zabel wrote: > > > Hi Zahari, > > > > > > Am Mittwoch, den 08.07.2015, 15:37 +0200 schrieb Zahari Doychev: > > >> The coda context que

Re: [PATCH 1/2] [media] coda: fix sequence counter increment

2015-07-28 Thread Philipp Zabel
Am Dienstag, den 28.07.2015, 10:54 +0200 schrieb Hans Verkuil: > On 07/08/2015 05:49 PM, Philipp Zabel wrote: > > Hi Zahari, > > > > Am Mittwoch, den 08.07.2015, 15:37 +0200 schrieb Zahari Doychev: > >> The coda context queue sequence counter is incremented only if the vb2 > >> source buffer paylo

Re: [PATCH 1/2] [media] coda: fix sequence counter increment

2015-07-28 Thread Hans Verkuil
On 07/08/2015 05:49 PM, Philipp Zabel wrote: > Hi Zahari, > > Am Mittwoch, den 08.07.2015, 15:37 +0200 schrieb Zahari Doychev: >> The coda context queue sequence counter is incremented only if the vb2 >> source buffer payload is non zero. This makes possible to signal EOS >> otherwise the conditio

Re: [PATCH 1/2] [media] coda: fix sequence counter increment

2015-07-08 Thread Philipp Zabel
Hi Zahari, Am Mittwoch, den 08.07.2015, 15:37 +0200 schrieb Zahari Doychev: > The coda context queue sequence counter is incremented only if the vb2 > source buffer payload is non zero. This makes possible to signal EOS > otherwise the condition in coda_buf_is_end_of_stream is never met or more >

[PATCH 1/2] [media] coda: fix sequence counter increment

2015-07-08 Thread Zahari Doychev
The coda context queue sequence counter is incremented only if the vb2 source buffer payload is non zero. This makes possible to signal EOS otherwise the condition in coda_buf_is_end_of_stream is never met or more precisely buf->v4l2_buf.sequence == (ctx->qsequence - 1) never happens. Signed-off-b