summaryrefslogtreecommitdiff
path: root/v4l_experimental/pvrusb2/pvrusb2-tuner.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-11-29 14:10:44 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-11-29 14:10:44 +0000
commit12a18692f10d193b3877111d773c30f94153ca52 (patch)
tree60c8049ccb70692be3660b6a44e5d5c9b1c714fa /v4l_experimental/pvrusb2/pvrusb2-tuner.c
parent57ffa2e772fdb52e65a3cb6fc5900795dcc74d39 (diff)
downloadmediapointer-dvb-s2-12a18692f10d193b3877111d773c30f94153ca52.tar.gz
mediapointer-dvb-s2-12a18692f10d193b3877111d773c30f94153ca52.tar.bz2
Added PAL-M video standard to pvrusb2
Added PAL-M video standard to pvrusb2 - still not working. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'v4l_experimental/pvrusb2/pvrusb2-tuner.c')
-rw-r--r--v4l_experimental/pvrusb2/pvrusb2-tuner.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/v4l_experimental/pvrusb2/pvrusb2-tuner.c b/v4l_experimental/pvrusb2/pvrusb2-tuner.c
index ffbc66294..2dba9e8f8 100644
--- a/v4l_experimental/pvrusb2/pvrusb2-tuner.c
+++ b/v4l_experimental/pvrusb2/pvrusb2-tuner.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: pvrusb2-tuner.c,v 1.1 2005/11/14 13:31:24 mchehab Exp $
+ * $Id: pvrusb2-tuner.c,v 1.2 2005/11/29 14:10:44 mchehab Exp $
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
* Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>
@@ -42,7 +42,8 @@ static u32 pvr_tbl_standard[] = {
[PVR2_CVAL_VIDEOSTANDARD_PAL_I] = 0x00d4700a, /* PVR_STD_PAL_I */
[PVR2_CVAL_VIDEOSTANDARD_PAL_DK] = 0x00d4700b, /* PVR_STD_PAL_DK */
[PVR2_CVAL_VIDEOSTANDARD_SECAM_L] = 0x00c4100b, /* PVR_STD_SECAM */
- [PVR2_CVAL_VIDEOSTANDARD_NTSC_M] = 0x00163044 /* PVR_STD_NTSC */
+ [PVR2_CVAL_VIDEOSTANDARD_NTSC_M] = 0x00163044, /* PVR_STD_NTSC */
+ [PVR2_CVAL_VIDEOSTANDARD_PAL_M] = 0x00163044 /* PVR_STD_PAL_M */
};
#define trace_tuner(...) pvr2_trace(PVR2_TRACE_TUNER,__VA_ARGS__)
@@ -136,6 +137,9 @@ int pvr2_tuner_set_standard(struct pvr2_hdw *hdw)
case PVR2_CVAL_VIDEOSTANDARD_PAL_DK:
vs = V4L2_STD_PAL_DK;
break;
+ case PVR2_CVAL_VIDEOSTANDARD_PAL_M:
+ vs = V4L2_STD_PAL_M;
+ break;
}
pvr2_i2c_tuner_cmd(hdw,VIDIOC_S_STD,&vs);