Messages in this thread | | | From | Robert Jarzmik <> | Subject | Re: [PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing | Date | Mon, 15 Aug 2016 16:42:38 +0200 |
| |
Hans Verkuil <hverkuil@xs4all.nl> writes:
> On 08/15/2016 03:26 PM, Robert Jarzmik wrote: >> Robert Jarzmik <robert.jarzmik@free.fr> writes: >> I've seen no documentation on the rules applicable to this sequence number: >> - should it be reset if a "start streaming" operation occurs ? > > start_streaming is the recommended place for setting the counter to 0. It's what > v4l2-compliance expects. > > It is not documented since 1) not every driver does this and 2) there may > be cases where this behavior is not desired. > > That said, I have yet to see a driver where zeroing this in start_streaming > is not appropriate.
Thanks for the information Hans, I'll modify this patch accordingly.
Cheers.
-- Robert
| |