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 <[EMAIL PROTECTED]>



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to