Force initial update of progress so that the sub-job gets updates straight away.
[dcpomatic.git] / src / lib / transcode_job.cc
index ce02fa57e7d302c0b7fc392a98f366bb38b639d9..74b425c1e6a3fd5b9f5340b10371c1050049a7a3 100644 (file)
@@ -38,7 +38,7 @@ using boost::shared_ptr;
 
 /** @param s Film to use.
  */
-TranscodeJob::TranscodeJob (shared_ptr<Film> f)
+TranscodeJob::TranscodeJob (shared_ptr<const Film> f)
        : Job (f)
 {
        
@@ -91,7 +91,7 @@ TranscodeJob::status () const
        s << Job::status ();
 
        if (!finished ()) {
-               s << N_("; ") << fixed << setprecision (1) << fps << N_(" ") << _("frames per second");
+               s << "; " << fixed << setprecision (1) << fps << N_(" ") << _("frames per second");
        }
        
        return s.str ();