- float fps = 0;
- if (_finish_time != _start_time) {
- fps = _encoder->frames_done() / (_finish_time - _start_time);
- }
-
- LOG_GENERAL (N_("Transcode job completed successfully: %1 fps"), dcp::locale_convert<string>(fps, 2, true));
+ LOG_GENERAL(N_("Transcode job completed successfully: %1 fps"), dcp::locale_convert<string>(frames_per_second(), 2, true));