diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/timecode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timecode.h b/src/wx/timecode.h index bce527ed2..3746b32cd 100644 --- a/src/wx/timecode.h +++ b/src/wx/timecode.h @@ -114,7 +114,7 @@ public: std::string const s = value_or_hint (_seconds); t += T::from_seconds (dcp::raw_convert<int>(s.empty() ? "0" : s)); std::string const f = value_or_hint (_frames); - t += T::from_seconds (dcp::raw_convert<double>(f.empty() ? "0" : f) / fps); + t += T::from_frames (dcp::raw_convert<int>(f.empty() ? "0" : f), fps); return t; } |
