I also applied the patch to gspcav1-20071224 and compiled successfully. And 
after replaced the gspca.ko, my webcam won't scale down to 160x120 anymore. At 
least running "mplayer tv:// -tv driver=v4l:width=160:height=120
" gives me a correct 320x240 video stream and console output like this:

Selected device: Z-star Vimicro zc0301p

 Capabilites: capture

 Device type: 1

 Supported sizes: 320x240 => 640x480
   <<------------- before it was 160x120 => 640x480 here
 Inputs: 1

  0: ZC301-2:  (tuner:0, norm:pal)

Using input 'ZC301-2'

Unable to set requested width: 160

Unable to set requested height: 120


And I looked at the source code of gspca_core.c, Luc's patch should do the 
trick and solve the problem.

-- 
Image scaling bug in gspca kernel module.
https://bugs.launchpad.net/bugs/93417
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to