summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-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 8b55d6205..7ee61ac23 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -267,6 +267,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;
@@ -416,8 +419,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) {