Build fixes for Boost >= 1.73
[dcpomatic.git] / src / tools / dcpomatic_batch.cc
index 48c7c2da5c88f1ce9534659f617502f3bd3c0b68..3517de9fef04650675663cf49132c25b710e8c2e 100644 (file)
@@ -53,6 +53,9 @@ using boost::shared_ptr;
 using boost::thread;
 using boost::scoped_array;
 using boost::dynamic_pointer_cast;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 static list<boost::filesystem::path> films_to_load;
 
@@ -382,6 +385,8 @@ class App : public wxApp
 {
        bool OnInit ()
        {
+               wxInitAllImageHandlers ();
+
                SetAppName (_("DCP-o-matic Batch Converter"));
                is_batch_converter = true;