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 2bbefd9..0b5c142 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,
 };
 /* -----------------------------------------------------------------