mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
V4L/DVB (3806): Cx88-blackbird: allow proper detection of PAL vs. NTSC video standard
- removed test for CX88_BOARD_HAUPPAUGE_ROSLYN prior to determining whether the video standard in use is NTSC or PAL. Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
473f54276a
commit
707f813729
@ -1686,16 +1686,12 @@ static int __devinit blackbird_probe(struct pci_dev *pci_dev,
|
||||
memcpy(&dev->params,&default_mpeg_params,sizeof(default_mpeg_params));
|
||||
memcpy(&dev->dnr_params,&default_dnr_params,sizeof(default_dnr_params));
|
||||
|
||||
if (core->board == CX88_BOARD_HAUPPAUGE_ROSLYN) {
|
||||
|
||||
if (core->tuner_formats & V4L2_STD_525_60) {
|
||||
dev->height = 480;
|
||||
dev->params.vi_frame_rate = 30;
|
||||
} else {
|
||||
dev->height = 576;
|
||||
dev->params.vi_frame_rate = 25;
|
||||
}
|
||||
|
||||
if (core->tuner_formats & V4L2_STD_525_60) {
|
||||
dev->height = 480;
|
||||
dev->params.vi_frame_rate = 30;
|
||||
} else {
|
||||
dev->height = 576;
|
||||
dev->params.vi_frame_rate = 25;
|
||||
}
|
||||
|
||||
err = cx8802_init_common(dev);
|
||||
|
Loading…
Reference in New Issue
Block a user