From f4cd53e707726690ecd214f741cf79a42b4f06e1 Mon Sep 17 00:00:00 2001 From: Oliver Endriss Date: Thu, 3 Apr 2003 23:24:25 +0000 Subject: ChangePIDs(): always set PCR-pid. This fixes the A/V sync problems with LL-firmware, if only video or audio pids are changed. --- linux/drivers/media/dvb/ttpci/av7110.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media') 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); } -- cgit v1.2.3