diff options
author | Oliver Endriss <devnull@localhost> | 2005-11-15 19:29:20 +0000 |
---|---|---|
committer | Oliver Endriss <devnull@localhost> | 2005-11-15 19:29:20 +0000 |
commit | b70f2a57ac910dbbe7847f4522a3f65c79b1499c (patch) | |
tree | 0acfaf5f7d8d1ebf0794b30684ed223295a100bb /linux/drivers/media/dvb/ttpci/av7110.c | |
parent | 5ed611afbec6fd973f36d37c0d3dd554e43cdc8b (diff) | |
download | mediapointer-dvb-s2-b70f2a57ac910dbbe7847f4522a3f65c79b1499c.tar.gz mediapointer-dvb-s2-b70f2a57ac910dbbe7847f4522a3f65c79b1499c.tar.bz2 |
Driver support for live-ac3, firmware >= 2621 required.
Signed-off-by: Dr. Werner Fink <werner@suse.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 5f59cc23a..49407fed9 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -717,6 +717,8 @@ static struct dvb_device dvbdev_osd = { static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, u16 subpid, u16 pcrpid) { + u16 aflags = 0; + dprintk(4, "%p\n", av7110); if (vpid == 0x1fff || apid == 0x1fff || @@ -728,8 +730,11 @@ static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, av7110->pids[DMX_PES_PCR] = 0; } - return av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, MultiPID, 5, - pcrpid, vpid, apid, ttpid, subpid); + if (av7110->audiostate.bypass_mode) + aflags |= 0x8000; + + return av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, MultiPID, 6, + pcrpid, vpid, apid, ttpid, subpid, aflags); } int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, |