summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c4
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);
}