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
1 changed files with 1 additions and 1 deletions

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