Re: [RFC, PATCH] gspca: implement vidioc_enum_frameintervals

2009-11-19 Thread Hans de Goede
Hi, On 11/17/2009 11:41 AM, Antonio Ospite wrote: Hi, gspca does not implement vidioc_enum_frameintervals yet, so even if a camera can support multiple frame rates (or frame intervals) there is still no way to enumerate them from userspace. The following is just a quick and dirty

Re: [RFC, PATCH] gspca: implement vidioc_enum_frameintervals

2009-11-19 Thread Michael Trimarchi
Hans de Goede wrote: Hi, On 11/17/2009 11:41 AM, Antonio Ospite wrote: Hi, gspca does not implement vidioc_enum_frameintervals yet, so even if a camera can support multiple frame rates (or frame intervals) there is still no way to enumerate them from userspace. The following is just a quick

Re: [RFC, PATCH] gspca: implement vidioc_enum_frameintervals

2009-11-19 Thread Hans de Goede
Hi, On 11/19/2009 10:00 AM, Michael Trimarchi wrote: Hans de Goede wrote: Hi, On 11/17/2009 11:41 AM, Antonio Ospite wrote: Hi, gspca does not implement vidioc_enum_frameintervals yet, so even if a camera can support multiple frame rates (or frame intervals) there is still no way to

Re: [RFC, PATCH] gspca: implement vidioc_enum_frameintervals

2009-11-19 Thread Antonio Ospite
On Thu, 19 Nov 2009 09:08:22 +0100 Hans de Goede hdego...@redhat.com wrote: Hi, Hi, thanks for commenting on this. On 11/17/2009 11:41 AM, Antonio Ospite wrote: Hi, gspca does not implement vidioc_enum_frameintervals yet, so even if a camera can support multiple frame rates (or frame

Re: [RFC, PATCH] gspca: implement vidioc_enum_frameintervals

2009-11-19 Thread Hans de Goede
Hi, On 11/19/2009 11:37 AM, Antonio Ospite wrote: On Thu, 19 Nov 2009 09:08:22 +0100 Hans de Goedehdego...@redhat.com wrote: Hi, Hi, thanks for commenting on this. On 11/17/2009 11:41 AM, Antonio Ospite wrote: Hi, gspca does not implement vidioc_enum_frameintervals yet, so even if a

Re: [RFC, PATCH] gspca: implement vidioc_enum_frameintervals

2009-11-19 Thread Jean-Francois Moine
On Thu, 19 Nov 2009 12:11:21 +0100 Hans de Goede hdego...@redhat.com wrote: Hmm, I see now upon expecting the code that the driver does actually support setting the framerate, but what I see does not seem to match your patch, the driver seems to support 50, 40, 30 and 15 fps, where as your

[RFC, PATCH] gspca: implement vidioc_enum_frameintervals

2009-11-17 Thread Antonio Ospite
Hi, gspca does not implement vidioc_enum_frameintervals yet, so even if a camera can support multiple frame rates (or frame intervals) there is still no way to enumerate them from userspace. The following is just a quick and dirty implementation to show the problem and to have something to base

Re: [RFC, PATCH] gspca: implement vidioc_enum_frameintervals

2009-11-17 Thread Michael Trimarchi
Hi, Antonio Ospite wrote: Hi, gspca does not implement vidioc_enum_frameintervals yet, so even if a camera can support multiple frame rates (or frame intervals) there is still no way to enumerate them from userspace. The following is just a quick and dirty implementation to show the problem