-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

 Lukáš Karas wrote:
> Hi Erik and others.
> 
> Hans De Goede reply to my libv4l fix for own gscpa branche:
> 
>      ".... Erm, this patch is clearly wrong, let me guess, you are trying to 
> solve 
>      problems with skype ..., or ? ...."
> 
> I verify this bug again. Problem is about value returned from VIDIOC_TRY_FMT 
> ioctl.
> If user program (v4l library in this case) set pixelformat for example to 
> YU12 (in v4l2_format struct)
> and call VIDIOC_TRY_FMT ioctl, own driver always set the pixelformat to BA81 
> pixel format 
> and return this value to user space!
> 
> But these behaviour is not correct! Driver can change only image sizes 
> in VIDIOC_TRY_FMT ctl, or not? In other cases driver have to return error 
> value, or?
> 

This must be intrepreted from the spec. I currently don't have the
time to look at it, I'll get back to you.

> I gather from czech  translation these article: 
> http://lwn.net/Articles/227533/
> 
> So, if driver can change pixel format in VIDIOC_TRY_FMT ctl, bug is in libv4l,
> if can't, bug is in own driver. 
> 
> If is bug in own driver, in attachment is patch for solve this problem ;-)
> 
> Btw Erik, file gspca.c is your work, or it is download from gspca framework?
> 

gspca.c is just a hard copy of the gspca framework.


Regards,
Erik

> Regards, Lukas
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> M560x-driver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjy11oACgkQN7qBt+4UG0G2wQCcDVMqL4OXVBC59G406CCdTTP6
J6MAmwRvZor6R8cq+awDGoTiBCeWtoZo
=hZaw
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to