Split KDM output stuff into a separate panel.
[dcpomatic.git] / src / tools / dcpomatic_kdm.cc
index 345b905457d8415ae3b7e7edf78d6e3f054c8a3c..2c274de423ba0048ce759c5f08c1bcba500f5c19 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
  */
 
 #include <getopt.h>
-#include <dcp/certificates.h>
+#include <dcp/certificate.h>
 #include "lib/film.h"
 #include "lib/cinema.h"
 #include "lib/kdm.h"
 #include "lib/config.h"
 #include "lib/exceptions.h"
 #include "lib/safe_stringstream.h"
+#include <iostream>
 
 using std::string;
 using std::cout;
@@ -216,6 +217,7 @@ int main (int argc, char* argv[])
 
        string const film_dir = argv[optind];
 
+       dcpomatic_setup_path_encoding ();
        dcpomatic_setup ();
 
        shared_ptr<Film> film;