-add h265 to record and stream

This commit is contained in:
Jacek Jendrzej
2014-05-29 16:23:36 +02:00
parent 193c49d55e
commit d9483e019e
6 changed files with 11 additions and 4 deletions

View File

@@ -34,6 +34,7 @@
#define ES_TYPE_MPEG12 0x02
#define ES_TYPE_AVC 0x1b
#define ES_TYPE_HEVC 0x24
#define ES_TYPE_MPA 0x03
#define ES_TYPE_EAC3 0x7a
#define ES_TYPE_AC3 0x81
@@ -131,6 +132,10 @@ void CGenPsi::addPid(uint16_t pid, uint16_t pidtype, short isAC3, const char *da
pcrpid=vpid=pid;
vtype = ES_TYPE_AVC;
break;
case EN_TYPE_HEVC:
pcrpid=vpid=pid;
vtype = ES_TYPE_HEVC;
break;
case EN_TYPE_PCR:
pcrpid=pid;
break;