Re: [GnomeMeeting-devel-list] Druid fixed



On jeu, 2003-11-06 at 14:42, Kilian Krause wrote:
> what i mean is:
> V4L has /dev/video1 open as "OV511+ USB Camera" with local preview
> active. (can also be V4L1 having it open, is the same effect)
> Then V4L detects both devices with their names, and V4L1 finds the
> video1 only as /dev/video1...

That is entirely normal: you need to open the device to know its name
with the video4linux api. Hence, since V4L opened it for the preview:
1) V4L remembers that device's name, and can give it;
2) V4L1 finds a device it can't open, and hence can't get the real name,
since it is a separate plugin.

Ie: to fix that problem, either:
1) V4L and V4L1 must be put into a single plugin, so they'll be able to
share the information. This wasn't possible with my previous
implementation, but will be in the next one (when it will appear).
2) or V4L could be modified to do single buffering when used with the
_only_ driver that only supports that...

(I would prefer 2, with some warning somewhere to say some bad words
about that driver)

> Trying the video device test fails with V4L and V4L1 on the video1 when
> local preview is active (so this is independant of which plugin has it
> loaded)

In the case of V4L1 failing to test /dev/video1: gm can't possibly know
that the device "V4L", "Your Webcam" is the same as "V4L1",
"/dev/video1", so it can't be fixed: two plugins managing the same
device will always produce that.

In the case of V4L: gm should have known that since it previews "V4L",
"Your Webcam", it can't test "V4L", "Your Webcam": in that case, it
should give a little popup warning: "Look in your main window, you fool,
we already know it works!" (of course, V4L1 exists exactly because there
is a driver that previews like a charm, and freezes during connection,
but I find I already said something bad about that precise driver,
didn't I?).

> it fails with V4L *and* V4L1.. so the test can't be run on the device
> being open in the local preview..

See above: normal for V4L1, should warn for V4L.

Snark




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