summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-02-24 13:12:59 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2008-02-24 13:12:59 -0500
commitc33ff2c42b68e9d28fa22032ba498375416b8ecd (patch)
tree5bb4dbd2838226c0a8f2d52cb139d46e1a3bfdc4 /linux/drivers/media/video/pvrusb2
parentf241b8900910f345cc67c632cac67d37786d3727 (diff)
downloadmediapointer-dvb-s2-c33ff2c42b68e9d28fa22032ba498375416b8ecd.tar.gz
mediapointer-dvb-s2-c33ff2c42b68e9d28fa22032ba498375416b8ecd.tar.bz2
pvrusb2: set default video standard to NTSC for OnAir HDTV / Creator
From: Michael Krufky <mkrufky@linuxtv.org> The pvrusb2 driver normally picks up the default video standard from the eeprom on Hauppauge devices, but the OnAir HDTV and OnAir Creator are not Hauppauge devices, and do not store this information in any eeprom. These devices support NTSC/ATSC, so we should use NTSC by default when in analog mode. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
index 08fd5dcf7..c54b23787 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
@@ -164,6 +164,7 @@ static const struct pvr2_device_desc pvr2_device_onair_creator = {
.flag_has_svideo = !0,
.signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
.digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
+ .default_std_mask = V4L2_STD_NTSC_M,
};
#endif
@@ -190,6 +191,7 @@ static const struct pvr2_device_desc pvr2_device_onair_usb2 = {
.flag_has_svideo = !0,
.signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
.digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
+ .default_std_mask = V4L2_STD_NTSC_M,
};
#endif