linux_dsm_epyc7002/drivers/media/video/pvrusb2
Pantelis Koukousoulas fd69496461 V4L/DVB (5095): Pvrusb2: Allow VIDIOC_S_FMT with -1 for resolution values
With the previous patch, mplayer started but was polling the video
device forever without any video actually coming out. Further analysis
showed that it does a VIDIOC_S_FMT with width and height set to -1 (!!!).
The code handling this only cares that both are lower than the minimum
range allowed so it ends up setting the size to 19x17 (!!) This pretty
much breaks the encoder here. Even if this breakage is yet another (TM)
result of my setup, setting the size to 19x17 by default would surprise
most users IMHO.
So, special case for -1 and interpret this to be a request for the
default size, please. Users can then set their favorite size both
through mplayer and through sysfs.
With this patch, mplayer finally works in pvr:// mode (not that we
really gain anything over operating it through sysfs with lirc,
sometime I might actually get off my lazy a** and contribute this
setup too)

Signed-off-by: Pantelis Koukousoulas <pakt223@freemail.gr>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21 13:34:42 -02:00
..
Kconfig V4L/DVB (4661): Pvrusb2: improve 24XXX config option description 2006-10-03 15:13:31 -03:00
Makefile V4L/DVB (4604): Fix broken pvrusb2 build 2006-09-26 12:30:35 -03:00
pvrusb2-audio.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-audio.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-context.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-context.h V4L/DVB (5052): Pvrusb2: Remove stream claiming hack from /dev/radio 2007-02-21 13:34:33 -02:00
pvrusb2-ctrl.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-ctrl.h V4L/DVB (4240): Various V4L control enhancements in pvrusb2 2006-06-27 00:17:28 -03:00
pvrusb2-cx2584x-v4l.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-cx2584x-v4l.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-debug.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-debugifc.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-debugifc.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-eeprom.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-eeprom.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-encoder.c V4L/DVB (5090): Pvrusb2: A patch to use ARRAY_SIZE macro when appropriate 2007-02-21 13:34:40 -02:00
pvrusb2-encoder.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-hdw-internal.h V4L/DVB (5083): Pvrusb2: Remove automodeswitch control 2007-02-21 13:34:38 -02:00
pvrusb2-hdw.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-hdw.h V4L/DVB (5081): Pvrusb2: VIDIOC_G_TUNER cleanup 2007-02-21 13:34:38 -02:00
pvrusb2-i2c-chips-v4l2.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-cmd-v4l2.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-cmd-v4l2.h V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-core.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-core.h V4L/DVB (5081): Pvrusb2: VIDIOC_G_TUNER cleanup 2007-02-21 13:34:38 -02:00
pvrusb2-io.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-io.h V4L/DVB (4337): Refine dead code elimination in pvrusb2 2006-07-29 17:22:24 -03:00
pvrusb2-ioread.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-ioread.h V4L/DVB (4287): Pvrusb2/: possible cleanups 2006-06-30 15:59:48 -03:00
pvrusb2-main.c V4L/DVB (4339): Removed the remaining config.h stuff 2006-09-26 09:03:16 -03:00
pvrusb2-std.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-std.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-sysfs.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-sysfs.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-tuner.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-tuner.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-util.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-v4l2.c V4L/DVB (5095): Pvrusb2: Allow VIDIOC_S_FMT with -1 for resolution values 2007-02-21 13:34:42 -02:00
pvrusb2-v4l2.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-video-v4l.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-video-v4l.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-wm8775.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-wm8775.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00