Fix error reporting by transcode job; no need to set job state inside TranscodeJob...
[dcpomatic.git] / src / lib / transcode_job.cc
index c7102879413b7f3a3a628a9596557c68b14b7aa0..fe2ad6775f351e2748b4ad5b5052ab3c3762e226 100644 (file)
@@ -70,9 +70,6 @@ TranscodeJob::run ()
                _transcoder.reset ();
 
        } catch (...) {
-               set_progress (1);
-               set_state (FINISHED_ERROR);
-               LOG_ERROR_NC (N_("Transcode job failed or cancelled"));
                _transcoder.reset ();
                throw;
        }
@@ -95,7 +92,7 @@ TranscodeJob::status () const
        s << Job::status ();
 
        if (!finished () && !_transcoder->finishing ()) {
-               /* TRANSLATORS: fps here is an abbreviation for frames per second */
+               /// TRANSLATORS: fps here is an abbreviation for frames per second
                s << "; " << fixed << setprecision (1) << fps << " " << _("fps");
        }