Fixed MP4 playback problems with zero-length parts (Mantrics playback issue).
This commit is contained in:
parent
77dcfc23ad
commit
657d7ad7ca
2 changed files with 9 additions and 1 deletions
|
@ -13,6 +13,10 @@ namespace Mist {
|
||||||
if (time == rhs.time){
|
if (time == rhs.time){
|
||||||
if (trackID < rhs.trackID){
|
if (trackID < rhs.trackID){
|
||||||
return true;
|
return true;
|
||||||
|
}else{
|
||||||
|
if (trackID == rhs.trackID && bpos < rhs.bpos){
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -34,6 +38,10 @@ namespace Mist {
|
||||||
if (time == rhs.time){
|
if (time == rhs.time){
|
||||||
if (trackID < rhs.trackID){
|
if (trackID < rhs.trackID){
|
||||||
return true;
|
return true;
|
||||||
|
}else{
|
||||||
|
if (trackID == rhs.trackID && bpos < rhs.bpos){
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ namespace Mist {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (trackID == rhs.trackID){
|
if (trackID == rhs.trackID){
|
||||||
return endTime < rhs.endTime;
|
return index < rhs.index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue