V4L/DVB (6806): Allow emulating changes of video std by vivi
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
63736784f7
commit
784c668b24
|
@ -919,7 +919,7 @@ static int vidioc_enum_input(struct file *file, void *priv,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
inp->type = V4L2_INPUT_TYPE_CAMERA;
|
inp->type = V4L2_INPUT_TYPE_CAMERA;
|
||||||
inp->std = V4L2_STD_NTSC_M;
|
inp->std = V4L2_STD_525_60;
|
||||||
strcpy(inp->name, "Camera");
|
strcpy(inp->name, "Camera");
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
|
@ -1172,7 +1172,7 @@ static struct video_device vivi_template = {
|
||||||
#ifdef CONFIG_VIDEO_V4L1_COMPAT
|
#ifdef CONFIG_VIDEO_V4L1_COMPAT
|
||||||
.vidiocgmbuf = vidiocgmbuf,
|
.vidiocgmbuf = vidiocgmbuf,
|
||||||
#endif
|
#endif
|
||||||
.tvnorms = V4L2_STD_NTSC_M,
|
.tvnorms = V4L2_STD_525_60,
|
||||||
.current_norm = V4L2_STD_NTSC_M,
|
.current_norm = V4L2_STD_NTSC_M,
|
||||||
};
|
};
|
||||||
/* -----------------------------------------------------------------
|
/* -----------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue