Re: v4l2 + select() + read()

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



>  Fair enough. Hmm, by reading at the v4l2 API... The v4l2_capability.flag has
>  defines for V4L2_FLAG_READ, and V4L2_FLAG_WRITE, but there´s nothing about
>  MMAP. Unless that´s the _STREAMING flag, which I find confusing...

Yes, it is the _STREAMING flag.  You have to use the STREAMON/STREAMOFF
ioctls to start/stop capture via mmap()'ed buffers, so the name choice
isn't that bad I think...

  Gerd

-- 
Gerd Knorr <kraxel@xxxxxxxxxxx>  --  SuSE Labs, Außenstelle Berlin





[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