FFmpegContent does not need audio_length().
[dcpomatic.git] / src / lib / transcode_job.cc
index 4db7381c85388c021ee230c4c40c3fa1bffeb3ae..1a2202ad2f2b91b9914297c07c9852ff227b3cb7 100644 (file)
@@ -54,6 +54,12 @@ TranscodeJob::name () const
        return String::compose (_("Transcode %1"), _film->name());
 }
 
+string
+TranscodeJob::json_name () const
+{
+       return N_("transcode");
+}
+
 void
 TranscodeJob::run ()
 {
@@ -70,9 +76,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;
        }