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 235af35603
commit 0ad0b6d5c9

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;
}