Re: v4l2 api

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



In lists.linux.video4linux, you wrote:
>  Hi Gerd,
>  
>  On Fri, 2002-10-11 at 11:19, Gerd Knorr wrote:
> > For streaming capture (i.e. STREAMON, QBUF + DQBUF loop, STREAMOFF)
>  
>  ???
>  
>  Last time I asked a driver was supposed not to capture to queued buffers
>  until STREAMON was given? I.e.:
>  
>  for(i=0;i<num;i++) QBUF
>  STREAMON
>  while (!kill_me_nicely) {
>    DQBUF
>    bladiebla()
>    QBUF
>  }
>  STREAMOFF
>  
>  when did this change?

It didn't, you can QBUF the buffers before STREAMON, and they will not
be filled until you actually start the capture with STREAMON (I just
didn't wrote it above because I was too lazy).  The STREAMON ioctl
should actually allocate the ressources needed for full-rate capture.

  Gerd

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux