Re: Proposal for channel coordination between multiple v4l2 users

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



Gerd Knorr wrote:
> 
> Why?  With v4l2 you can just use /dev/video all the time and put the
> file handle into vbi mode using S_FMT.  And for v4l1 devices it
> doesn't help if we adjust the v4l2 API ...

We kept /dev/vbi for compatibility, now we have to deal with apps using
it. The proxy compares the device file names to see if apps want to read
from the same device. Since in user space we cannot easily determine if
/dev/video and /dev/vbi refer to the same device and reads are
exclusive, apps using both names cannot coexist.

V4L1 has VIDIOCGUNIT, if names are ambiguous.

Actually when devices uniquely identify themselves I wonder if the proxy
still needs to deref symlinks or examine file names at all.

Michael




[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