Fixed MP4 playback problems with zero-length parts (Mantrics playback issue).

This commit is contained in:
Thulinma 2015-05-11 19:02:00 +02:00
parent 77dcfc23ad
commit 657d7ad7ca
2 changed files with 9 additions and 1 deletions

View file

@ -13,6 +13,10 @@ namespace Mist {
if (time == rhs.time){
if (trackID < rhs.trackID){
return true;
}else{
if (trackID == rhs.trackID && bpos < rhs.bpos){
return true;
}
}
}
}
@ -34,6 +38,10 @@ namespace Mist {
if (time == rhs.time){
if (trackID < rhs.trackID){
return true;
}else{
if (trackID == rhs.trackID && bpos < rhs.bpos){
return true;
}
}
}
}

View file

@ -13,7 +13,7 @@ namespace Mist {
return true;
}
if (trackID == rhs.trackID){
return endTime < rhs.endTime;
return index < rhs.index;
}
}
return false;