Temporary hack to deal with some mkv files while a proper fix is discussed.

Originally committed to SVN as r1739.
This commit is contained in:
Rodrigo Braz Monteiro 2008-01-16 02:46:36 +00:00
parent b0d0c01b93
commit cee3ed931a
1 changed files with 4 additions and 0 deletions

View File

@ -250,6 +250,7 @@ void MatroskaWrapper::SetToTimecodes(FrameRate &target) {
//std::sort<std::vector<double>::iterator>(timecodes.begin(),timecodes.end());
// Check if it's CFR
/*
bool isCFR = true;
double estimateCFR = timecodes.back() / (timecodes.size()-1);
double t1,t2;
@ -262,6 +263,9 @@ void MatroskaWrapper::SetToTimecodes(FrameRate &target) {
break;
}
}
*/
bool isCFR = false;
double estimateCFR = 0;
// Constant framerate
if (isCFR) {