V4L/DVB (6806): Allow emulating changes of video std by vivi
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 13 Dec 2007 09:35:26 +0000 (06:35 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:33 +0000 (19:03 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/vivi.c

index 2bbefd9262567e903b2003c1c1a5b0aadb447e12..0b5c1426bb90194c7f99f381b3ca6500a3a5849b 100644 (file)
@@ -919,7 +919,7 @@ static int vidioc_enum_input(struct file *file, void *priv,
                return -EINVAL;
 
        inp->type = V4L2_INPUT_TYPE_CAMERA;
-       inp->std = V4L2_STD_NTSC_M;
+       inp->std = V4L2_STD_525_60;
        strcpy(inp->name, "Camera");
 
        return (0);
@@ -1172,7 +1172,7 @@ static struct video_device vivi_template = {
 #ifdef CONFIG_VIDEO_V4L1_COMPAT
        .vidiocgmbuf          = vidiocgmbuf,
 #endif
-       .tvnorms              = V4L2_STD_NTSC_M,
+       .tvnorms              = V4L2_STD_525_60,
        .current_norm         = V4L2_STD_NTSC_M,
 };
 /* -----------------------------------------------------------------