Comment.
[dcpomatic.git] / src / lib / transcode_job.cc
index 122f7f79921545a79522c40bb185f3b6cccf5b1f..f10078f3c2714984b15035d45b679954399f9c72 100644 (file)
  *  @brief A job which transcodes from one format to another.
  */
 
-#include <iostream>
-#include <iomanip>
 #include "transcode_job.h"
 #include "film.h"
 #include "transcoder.h"
 #include "log.h"
 #include "safe_stringstream.h"
+#include "compose.hpp"
+#include <iostream>
+#include <iomanip>
 
 #include "i18n.h"
 
@@ -99,7 +100,9 @@ TranscodeJob::status () const
 
        if (!finished () && !_transcoder->finishing ()) {
                /// TRANSLATORS: fps here is an abbreviation for frames per second
-               s << "; " << fixed << setprecision (1) << fps << " " << _("fps");
+               s << "; " << _transcoder->video_frames_out() << "/"
+                 << _film->length().frames_round (_film->video_frame_rate ()) << " " << _("frames") << "; "
+                 << fixed << setprecision (1) << fps << " " << _("fps");
        }
 
        return s.str ();