summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic_cli.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc
index 5a7ec3c72..79d9bbe1c 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -263,6 +263,9 @@ main (int argc, char* argv[])
ArgFixer fixer(argc, argv);
auto const program_name = fixer.argv()[0];
+ dcpomatic_setup_path_encoding ();
+ dcpomatic_setup ();
+
boost::filesystem::path film_dir;
bool progress = true;
bool no_remote = false;
@@ -412,8 +415,6 @@ main (int argc, char* argv[])
film_dir = fixer.argv()[optind];
- dcpomatic_setup_path_encoding ();
- dcpomatic_setup ();
signal_manager = new SignalManager ();
if (no_remote || export_format) {