Fix a bug in FFMS2 that caused it to write timecodes with scientific notation.

Originally committed to SVN as r2808.
This commit is contained in:
Karl Blomster 2009-04-17 03:25:10 +00:00
parent 6c256fd181
commit d77c119d63

View file

@ -760,7 +760,7 @@ int FrameInfoVector::WriteTimecodes(const char *TimecodeFile, char *ErrorMsg, un
Timecodes << "# timecode format v2\n";
for (iterator Cur=begin(); Cur!=end(); Cur++)
Timecodes << ((Cur->DTS * TB.Num) / (double)TB.Den) << "\n";
Timecodes << std::fixed << ((Cur->DTS * TB.Num) / (double)TB.Den) << "\n";
return 0;
}