Optimise checking of existing image data.
[dcpomatic.git] / src / lib / player_video.cc
index 018f04737acec4df8a050b086aff84be1fbe5659..ad6219d4f12f4f496ae0c7ee2589445fad68ca31 100644 (file)
@@ -23,6 +23,7 @@
 #include "j2k_image_proxy.h"
 #include "film.h"
 #include "raw_convert.h"
+#include <libxml++/libxml++.h>
 
 using std::string;
 using std::cout;
@@ -174,7 +175,7 @@ PlayerVideo::has_j2k () const
                return false;
        }
 
-       return _crop == Crop () && _inter_size == j2k->size() && !_subtitle && !_fade;
+       return _crop == Crop () && _inter_size == j2k->size() && !_subtitle && !_fade && !_colour_conversion;
 }
 
 Data