diff --git a/aegisub/FFmpegSource2/indexing.cpp b/aegisub/FFmpegSource2/indexing.cpp index df4a1bdfe..c5ad70223 100644 --- a/aegisub/FFmpegSource2/indexing.cpp +++ b/aegisub/FFmpegSource2/indexing.cpp @@ -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; }