]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L/DVB (12325): Implement changing resolution on the fly for zr364xx driver
authorLamarque Vieira Souza <lamarque@gmail.com>
Mon, 20 Jul 2009 23:46:42 +0000 (20:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:06 +0000 (12:18 -0300)
commit8c5f32ac2f8c1b92149b08bba673ccecb7578e57
tree7cb69dc8cb1501eec4069b12c75d55a400e3be95
parent6ace40effd34331a604c5eeae90838cf8dd7eb8f
V4L/DVB (12325): Implement changing resolution on the fly for zr364xx driver

This patch implements changing resolution in zr364xx_vidioc_s_fmt_vid_cap for
zr364xx driver. This version is synced with v4l-dvb as of 20/Jul/2009. Tested
with Creative PC-CAM 880.

OBS: I had to increase MAX_FRAME_SIZE to prevent a hard crash in my notebook
(caps lock blinking) when testing with mplayer, which automatically sets
resolution to the maximum (640x480). Maybe we should add code to auto-detect
frame size to prevent this kind of crash in the future.

Signed-off-by: Lamarque V. Souza <lamarque@gmail.com>
Signed-off-by: Antoine Jacquet <royale@zerezo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zr364xx.c