Fix error reporting by transcode job; no need to set job state inside TranscodeJob...
authorCarl Hetherington <cth@carlh.net>
Mon, 5 Jan 2015 09:56:16 +0000 (09:56 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 5 Jan 2015 09:56:16 +0000 (09:56 +0000)
src/lib/transcode_job.cc

index 4db7381c85388c021ee230c4c40c3fa1bffeb3ae..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;
        }