[Gambas-devel] V4L2 for Gambas ...

Benoit Minisini gambas at ...1...
Wed Jan 21 12:35:10 CET 2009


On mercredi 21 janvier 2009, Gareth Bult wrote:
> Ok,
>
> So we never improve on what's there?
> In which case we never improve Gambas?
>
> I think I know why it is like it is, it was mirroring the underlying V4L
> code which broke those properties off into a sub-structure. However, the
> V4L developers obviously realised this didn't make sense and now these
> properties are all returned by a "flat" ioctl get call. (as of V4L2)
>
> What's there is a great start, however as V4L code it's incomplete and it
> doesn't support V4L2, which is required for newer cameras. This is not a
> criticism, this is just what was produced with available resources - which
> is great. However if I don't (a) fully understand why it was done that way
> and (b) get consensus on modifications, I may end up making changes that
> are incorrect and unwanted.
>
> Given I'm essentially looking to change available properties on an existing
> component - would you not rather I be sure I'm doing the right thing before
> committing the code / work ? (Not least given this is my first attempt with
> Gambas components?)
>
> Gareth.
>

I don't understand why it was done this way too. If you want to put all the 
device properties in the main class, I see no problem with that. Go on...

I think that Ron_1st wanted to say, in his mail, that you can use subclasses 
just for grouping device properties.

Regards,

-- 
Benoit Minisini




More information about the Devel mailing list