Removed bullshit timestamp checks, no longer relevant/needed.
This commit is contained in:
parent
72f9fd3be2
commit
bb5d0dda11
1 changed files with 0 additions and 7 deletions
|
@ -262,9 +262,6 @@ namespace Mist {
|
|||
//Save the trackid of the track for easier access
|
||||
unsigned long tid = pack.getTrackId();
|
||||
//these checks were already done in bufferSinglePacket, but we check again just to be sure
|
||||
if (myMeta.live && pack.getTime() > 0xFFFF0000 && !myMeta.tracks[tid].lastms){
|
||||
return;//ignore bullshit timestamps
|
||||
}
|
||||
if (myMeta.live && pack.getTime() < myMeta.tracks[tid].lastms){
|
||||
DEBUG_MSG(multiWrong?DLVL_HIGH:DLVL_WARN, "Wrong order on track %lu ignored: %lu < %lu", tid, pack.getTime(), myMeta.tracks[tid].lastms);
|
||||
multiWrong = true;
|
||||
|
@ -451,10 +448,6 @@ namespace Mist {
|
|||
//For live streams, ignore packets that make no sense
|
||||
//This also happens in bufferNext, with the same rules
|
||||
if (myMeta.live){
|
||||
if (packet.getTime() > 0xFFFF0000 && !myMeta.tracks[tid].lastms){
|
||||
INFO_MSG("Ignoring packet with unexpected timestamp");
|
||||
return;//ignore bullshit timestamps
|
||||
}
|
||||
if (packet.getTime() < myMeta.tracks[tid].lastms){
|
||||
HIGH_MSG("Wrong order on track %lu ignored: %lu < %lu", tid, packet.getTime(), myMeta.tracks[tid].lastms);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue