Fixed parsing of ADTS inside TS spread over multiple PES
This commit is contained in:
parent
bd38fd20c3
commit
d21c15fcdd
4 changed files with 87 additions and 13 deletions
|
@ -314,6 +314,10 @@ namespace Mist {
|
|||
} else {
|
||||
tsStream.getEarliestPacket(thisPacket);
|
||||
}
|
||||
if (!thisPacket){
|
||||
FAIL_MSG("Could not getNext TS packet!");
|
||||
return;
|
||||
}
|
||||
tsStream.initializeMetadata(myMeta);
|
||||
if (!myMeta.tracks.count(thisPacket.getTrackId())) {
|
||||
getNext();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue