[V4L] Buffers shared between cards?

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



I'm not sure if this is a driver bug, an API bug, or just something
obvious that I'm missing. Why (in V4L), are the mmap buffers allocated per
driver rather than per card? I have two DC10+ cards in a machine, and in
order to be able to  capture from both of them at once, the application
needs to be aware of the fact that a mmap on both /dev/video0 and 
/dev/video1 returns the same array of buffers (the one which opened 
/dev/video1 has know to use different buffers than the one which opened
/dev/video0 or they'll end up trampling all over each other).

-- 
------- Alex Holden -------
http://www.linuxhacker.org/
 http://www.robogeeks.org/






[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