RE: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-22 Thread Jonghun Han
Hi all, On Tuesday, March 22, 2011 7:54 PM Laurent Pinchart wrote: > On Tuesday 15 March 2011 08:50:45 Hans Verkuil wrote: > > On Tuesday, March 15, 2011 04:21:05 Pawel Osciak wrote: > > > On Mon, Mar 14, 2011 at 03:49, Subash Patel wrote: > > > > VIDIOC_STREAMON expects buffers to be queued befo

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-22 Thread Laurent Pinchart
Hi Hans, On Tuesday 15 March 2011 08:50:45 Hans Verkuil wrote: > On Tuesday, March 15, 2011 04:21:05 Pawel Osciak wrote: > > On Mon, Mar 14, 2011 at 03:49, Subash Patel wrote: > > > VIDIOC_STREAMON expects buffers to be queued before hardware part of > > > image/video pipe is enabled. From my exp

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-15 Thread Sylwester Nawrocki
Hi Subash, thanks for your comments. On 03/14/2011 11:44 AM, Subash Patel wrote: > VIDIOC_STREAMON expects buffers to be queued before hardware part of > image/video pipe is enabled. From my experience of V4L2 user space, I have > always QBUFfed before invoking the STREAMON. Below is the API spec

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-15 Thread Hans Verkuil
On Tuesday, March 15, 2011 04:21:05 Pawel Osciak wrote: > Hi, > > On Mon, Mar 14, 2011 at 03:49, Subash Patel wrote: > > VIDIOC_STREAMON expects buffers to be queued before hardware part of > > image/video pipe is enabled. From my experience of V4L2 user space, I > > have always QBUFfed before in

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-14 Thread Subash Patel
> Also, there might still be situations where being able to STREAMON > without buffers queued would be beneficial. For example, enabling the > device might be a slow/expensive operation and we might prefer to keep > it running even if we don't want any data at the moment. Even for > faster devices,

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-14 Thread Pawel Osciak
Hi, On Mon, Mar 14, 2011 at 03:49, Subash Patel wrote: > VIDIOC_STREAMON expects buffers to be queued before hardware part of > image/video pipe is enabled. From my experience of V4L2 user space, I > have always QBUFfed before invoking the STREAMON. Below is the API > specification which also spe

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-14 Thread Subash Patel
VIDIOC_STREAMON expects buffers to be queued before hardware part of image/video pipe is enabled. From my experience of V4L2 user space, I have always QBUFfed before invoking the STREAMON. Below is the API specification which also speaks something same: http://linuxtv.org/downloads/v4l-dvb-apis/vi