diff options
author | Steven Toth <stoth@hauppauge.com> | 2006-01-09 12:25:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:17 -0500 |
commit | 0345c387de72b5d7fbfeda9d92818fa7013a6d1c (patch) | |
tree | 2d1b8277b7c5989aa1c8f75fa25f51f881c7a4ae /drivers/media/video/cx88/cx88-blackbird.c | |
parent | 2304759d7e5debbd400eca6e9bb979a186c798a9 (diff) |
V4L/DVB (3112): Several fixes for Hauppauge Roselyn Design (blackbird)
- This patch adds eeprom awareness for the Roslyn. In effect, the
blackbird will query the tuner V4L2_STD_xxxx definitions to determine
whether it's connected to a NTSC or PAL tuner. Based on that, various
default values will change for blackbird encoding.
- Fixes back panel SVIDEO/COMPOSITE with audio, work properly.
- Fixes a problem with lip sync issues, due to bad framerate vs
audio rate assumptions.
- Fixed a problem with the GPIO configuration in cx88-cards.
- Removed the comments in cx88-cards that made no sense.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index 74e57a53116f..99bfa3238294 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -1689,6 +1689,18 @@ static int __devinit blackbird_probe(struct pci_dev *pci_dev, | |||
1689 | memcpy(&dev->params,&default_mpeg_params,sizeof(default_mpeg_params)); | 1689 | memcpy(&dev->params,&default_mpeg_params,sizeof(default_mpeg_params)); |
1690 | memcpy(&dev->dnr_params,&default_dnr_params,sizeof(default_dnr_params)); | 1690 | memcpy(&dev->dnr_params,&default_dnr_params,sizeof(default_dnr_params)); |
1691 | 1691 | ||
1692 | if (core->board == CX88_BOARD_HAUPPAUGE_ROSLYN) { | ||
1693 | |||
1694 | if (core->tuner_formats & V4L2_STD_525_60) { | ||
1695 | dev->height = 480; | ||
1696 | dev->params.vi_frame_rate = 30; | ||
1697 | } else { | ||
1698 | dev->height = 576; | ||
1699 | dev->params.vi_frame_rate = 25; | ||
1700 | } | ||
1701 | |||
1702 | } | ||
1703 | |||
1692 | err = cx8802_init_common(dev); | 1704 | err = cx8802_init_common(dev); |
1693 | if (0 != err) | 1705 | if (0 != err) |
1694 | goto fail_free; | 1706 | goto fail_free; |