Put details of missing asset paths into the job details... box.
authorCarl Hetherington <cth@carlh.net>
Tue, 22 Jan 2019 15:48:03 +0000 (15:48 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 22 Jan 2019 15:48:03 +0000 (15:48 +0000)
cscript
src/lib/job.cc

diff --git a/cscript b/cscript
index 77c5a94ba6f1dea16b27c93545a9c85ec1c7b8ab..969bb72270fabe109caab5b25391a7cfd4488f8f 100644 (file)
--- a/cscript
+++ b/cscript
@@ -327,8 +327,8 @@ def dependencies(target):
         # Use distro-provided FFmpeg on Arch
         deps = []
 
-    deps.append(('libdcp', '4676616'))
-    deps.append(('libsub', 'f93c12c'))
+    deps.append(('libdcp', '49f9ec2'))
+    deps.append(('libsub', '1e1836a'))
     deps.append(('rtaudio-cdist', 'aad62d7'))
 
     return deps
index 763005b57ef8a7ee52d3f69e4114a003a7a248f5..610d486b6bcb087b60ef76cc4c6692316af7da10 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -172,6 +172,12 @@ Job::run_wrapper ()
                set_progress (1);
                set_state (FINISHED_ERROR);
 
+       } catch (dcp::MissingAssetError& e) {
+
+               set_error (e.message(), e.path().string());
+               set_progress (1);
+               set_state (FINISHED_ERROR);
+
        } catch (dcp::DCPReadError& e) {
 
                set_error (e.message(), e.detail().get_value_or(""));