Re: [V4L] Common V4L1/V4L2 interface layer

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



Bill Dirks wrote:
> 
> Multiple capturing opens can produce subtle repercussions in the
> sematics of various ioctls. For example, suppose an app opens a driver
> and does a GET-FORMAT (or any other kind of query) while there are two
> capturing opens active. The format of which open should be returned? If
> the driver requires both opens to use the same format, which open gets
> control, and will that mess up the app that doesn't have control?
> 
> Of course, a driver writer can do whatever he pleases behind the scenes,
> as long the ioctl semantics are preserved such that apps, and therefore
> users, are happy.

I think that multiple opens should be handled by userspace library using
for example shm, becouse it adds unnecessary complexity to driver which
should contain only some hooks, if needed.

-- 
Marian Jančár <mjanx123@xxxxxxxxxxxxxxxxxxxxxxxx>





[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