mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
genpsi: add pcr pid handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7a3b584920
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-08-01 (Thu, 01 Aug 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -161,10 +161,14 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel)
|
||||
}
|
||||
|
||||
CGenPsi psi;
|
||||
if (allpids.PIDs.vpid != 0)
|
||||
psi.addPid(allpids.PIDs.vpid, recMovieInfo->VideoType ? EN_TYPE_AVC : EN_TYPE_VIDEO, 0);
|
||||
|
||||
numpids = 0;
|
||||
if (allpids.PIDs.vpid != 0){
|
||||
psi.addPid(allpids.PIDs.vpid, recMovieInfo->VideoType ? EN_TYPE_AVC : EN_TYPE_VIDEO, 0);
|
||||
if(allpids.PIDs.pcrpid != allpids.PIDs.vpid){
|
||||
psi.addPid(allpids.PIDs.pcrpid, EN_TYPE_PCR, 0);
|
||||
apids[numpids++]=allpids.PIDs.pcrpid;
|
||||
}
|
||||
}
|
||||
for (unsigned int i = 0; i < recMovieInfo->audioPids.size(); i++) {
|
||||
apids[numpids++] = recMovieInfo->audioPids[i].epgAudioPid;
|
||||
psi.addPid(recMovieInfo->audioPids[i].epgAudioPid, EN_TYPE_AUDIO, recMovieInfo->audioPids[i].atype);
|
||||
|
Reference in New Issue
Block a user