Removed debug messages.
This commit is contained in:
parent
a9ecac23ed
commit
30e13972da
2 changed files with 0 additions and 4 deletions
|
@ -975,18 +975,15 @@ bool DTSC::isFixed(JSON::Value & metadata){
|
|||
continue;
|
||||
}
|
||||
if (!it->second["keys"].isString()){
|
||||
std::cerr << "Not fixed because keys for track " << it->second["trackid"].asInt() << " is not a string" << std::endl;
|
||||
return false;
|
||||
}
|
||||
//Check for bpos: last element bpos != 0
|
||||
std::string keyRef = it->second["keys"].asStringRef();
|
||||
if (keyRef.size() < 16){
|
||||
std::cerr << "No keys in track " << it->second["trackid"].asInt() << std::endl;
|
||||
return false;
|
||||
}
|
||||
int offset = keyRef.size() - 17;
|
||||
if (!(keyRef[offset] | keyRef[offset+1] | keyRef[offset+2] | keyRef[offset+3] | keyRef[offset+4])){
|
||||
std::cerr << "Not fixed because last bpos for track " << it->second["trackid"].asInt() << " it 0" << std::endl;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -809,7 +809,6 @@ namespace DTSC {
|
|||
continue;
|
||||
}
|
||||
if (!it->second.keys.size() || !(it->second.keys.rbegin()->getBpos())){
|
||||
std::cerr << "Not fixed while track " << it->first << " has " << it->second.keys.size() << "keyframes" << std::endl;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue