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:
parent
6c256fd181
commit
d77c119d63
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ int FrameInfoVector::WriteTimecodes(const char *TimecodeFile, char *ErrorMsg, un
|
||||||
Timecodes << "# timecode format v2\n";
|
Timecodes << "# timecode format v2\n";
|
||||||
|
|
||||||
for (iterator Cur=begin(); Cur!=end(); Cur++)
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue