mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
fix hevc record
Origin commit data
------------------
Branch: ni/coolstream
Commit: b9c2aaf3af
Author: TangoCash <eric@loxat.de>
Date: 2017-10-31 (Tue, 31 Oct 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -205,7 +205,7 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel)
|
||||
CGenPsi psi;
|
||||
numpids = 0;
|
||||
if (allpids.PIDs.vpid != 0){
|
||||
psi.addPid(allpids.PIDs.vpid, recMovieInfo->VideoType == 1 ? EN_TYPE_AVC : recMovieInfo->VideoType == 2 ? EN_TYPE_HEVC : EN_TYPE_VIDEO, 0);
|
||||
psi.addPid(allpids.PIDs.vpid, recMovieInfo->VideoType == CHANNEL_MPEG4 ? EN_TYPE_AVC : recMovieInfo->VideoType == CHANNEL_HEVC ? EN_TYPE_HEVC : EN_TYPE_VIDEO, 0);
|
||||
if (allpids.PIDs.pcrpid && (allpids.PIDs.pcrpid != allpids.PIDs.vpid)) {
|
||||
psi.addPid(allpids.PIDs.pcrpid, EN_TYPE_PCR, 0);
|
||||
apids[numpids++]=allpids.PIDs.pcrpid;
|
||||
|
Reference in New Issue
Block a user