diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-28 23:55:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-12-28 23:58:05 +0100 |
| commit | ad05b0289e6f11bb0541ec8413748e855d7add77 (patch) | |
| tree | c9460f1ea73719cbb3a73a76c936cf369dd000bb /src/lib | |
| parent | beb89750250a04cf90cf6638bc5bafd2f3021fe2 (diff) | |
Fix badly-formatted FPS counts (#2155).
This was introduced in a2e41d9a95b6e0000f3a54f513214130f8b6ca9f
when a snprintf() was changed for a locale_convert().
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/transcode_job.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/transcode_job.cc b/src/lib/transcode_job.cc index 68cd30e54..6e1985400 100644 --- a/src/lib/transcode_job.cc +++ b/src/lib/transcode_job.cc @@ -175,7 +175,7 @@ TranscodeJob::status () const auto status = String::compose(_("%1; %2/%3 frames"), Job::status(), _encoder->frames_done(), _film->length().frames_round(_film->video_frame_rate())); if (auto const fps = _encoder->current_rate()) { /// TRANSLATORS: fps here is an abbreviation for frames per second - status += String::compose(_("; %1 fps"), dcp::locale_convert<string>(*fps, 1)); + status += String::compose(_("; %1 fps"), dcp::locale_convert<string>(*fps, 1, true)); } return status; |
