summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2005-04-07 02:02:31 +0000
committerOliver Endriss <devnull@localhost>2005-04-07 02:02:31 +0000
commitc1e47bebb980421daf94250bb87f2aec04731f31 (patch)
tree2f8e90397c823778532efbca2f53fea4e193b671 /linux/drivers/media/dvb
parent02238ff3a851e7d5b765008c752b882a60bae6d5 (diff)
downloadmediapointer-dvb-s2-c1e47bebb980421daf94250bb87f2aec04731f31.tar.gz
mediapointer-dvb-s2-c1e47bebb980421daf94250bb87f2aec04731f31.tar.bz2
fixed NTSC -> PAL switching (std->id is a bitmap!)
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_v4l.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_v4l.c b/linux/drivers/media/dvb/ttpci/av7110_v4l.c
index f193cc945..9af4d3382 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_v4l.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_v4l.c
@@ -726,11 +726,11 @@ static int std_callback(struct saa7146_dev* dev, struct saa7146_standard *std)
{
struct av7110 *av7110 = (struct av7110*) dev->ext_priv;
- if (std->id == V4L2_STD_PAL) {
+ if (std->id & V4L2_STD_PAL) {
av7110->vidmode = VIDEO_MODE_PAL;
av7110_set_vidmode(av7110, av7110->vidmode);
}
- else if (std->id == V4L2_STD_NTSC) {
+ else if (std->id & V4L2_STD_NTSC) {
av7110->vidmode = VIDEO_MODE_NTSC;
av7110_set_vidmode(av7110, av7110->vidmode);
}