diff options
author | Oliver Endriss <devnull@localhost> | 2003-04-03 23:24:25 +0000 |
---|---|---|
committer | Oliver Endriss <devnull@localhost> | 2003-04-03 23:24:25 +0000 |
commit | f4cd53e707726690ecd214f741cf79a42b4f06e1 (patch) | |
tree | 43b2fcf213e42aed6fd5e02b40b74c8db39ef279 /linux/drivers/media | |
parent | 7797455e309f859ebc4dc896251ffae4453531d6 (diff) | |
download | mediapointer-dvb-s2-f4cd53e707726690ecd214f741cf79a42b4f06e1.tar.gz mediapointer-dvb-s2-f4cd53e707726690ecd214f741cf79a42b4f06e1.tar.bz2 |
ChangePIDs(): always set PCR-pid.
This fixes the A/V sync problems with LL-firmware,
if only video or audio pids are changed.
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index af0d3029d..275ed0bc7 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -2028,8 +2028,10 @@ ChangePIDs(av7110_t *av7110, u16 vpid, u16 apid, u16 ttpid, av7110->pids[DMX_PES_SUBTITLE]=0; - if (av7110->fe_synced) + if (av7110->fe_synced) { + pcrpid = av7110->pids[DMX_PES_PCR]; SetPIDs(av7110, vpid, apid, ttpid, subpid, pcrpid); + } up(&av7110->pid_mutex); } |