Opus in TS input/output support

This commit is contained in:
Thulinma 2020-06-16 19:32:59 +02:00
parent 1c47e9cdfc
commit 97752f2c2d
9 changed files with 240 additions and 27 deletions

View file

@ -94,6 +94,10 @@ std::string AnalyserTS::printPES(const std::string &d, size_t PID){
res << " [Audio " << (int)(d[3] & 0x1F) << "]";
known = true;
}
if (!known && d[3] == 0xBD){
res << " [Private Stream 1]";
known = true;
}
if (!known){res << " [Unknown stream ID: " << (int)d[3] << "]";}
if (d[0] != 0 || d[1] != 0 || d[2] != 1){
res << " [!!! INVALID START CODE: " << (int)d[0] << " " << (int)d[1] << " " << (int)d[2] << " ]";