Major DASH cleanup/bugfix spree: live DASH now works in bitmovin player.

This commit is contained in:
Thulinma 2015-07-29 22:59:39 +02:00
parent bf1e2c8083
commit e36b05500b
2 changed files with 71 additions and 116 deletions

View file

@ -1180,7 +1180,7 @@ namespace DTSC {
unsigned int Track::timeToKeynum(unsigned int timestamp){
unsigned int result = 0;
for (std::deque<Key>::iterator it = keys.begin(); it != keys.end(); it++){
if (it->getTime() >= timestamp){
if (it->getTime() > timestamp){
break;
}
result = it->getNumber();