mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
genpsi: add pcr pid handling
Origin commit data
------------------
Commit: 7a3b584920
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-08-01 (Thu, 01 Aug 2013)
This commit is contained in:
@@ -389,6 +389,11 @@ bool CStreamManager::Parse(int fd, stream_pids_t &pids, t_channel_id &chid)
|
||||
}
|
||||
}
|
||||
}
|
||||
//add pcr pid
|
||||
if(channel->getPcrPid() != channel->getVideoPid()){
|
||||
pids.insert(channel->getPcrPid());
|
||||
psi.addPid(channel->getPcrPid(), EN_TYPE_PCR, 0);
|
||||
}
|
||||
psi.genpsi(fd);
|
||||
|
||||
return !pids.empty();
|
||||
|
Reference in New Issue
Block a user