Update for small change to libdcp API.
[dcpomatic.git] / src / lib / image_examiner.cc
index 376491738ef7b004fb2dd5d8dd37ef0c5bf9a96b..7b02de956e033ff14a60810f732d82b6774412a6 100644 (file)
@@ -27,6 +27,7 @@
 #include "compose.hpp"
 #include <dcp/openjpeg_image.h>
 #include <dcp/exceptions.h>
+#include <dcp/j2k.h>
 #include <Magick++.h>
 #include <iostream>
 
@@ -92,3 +93,13 @@ ImageExaminer::video_frame_rate () const
        /* Don't know */
        return optional<double> ();
 }
+
+bool
+ImageExaminer::yuv () const
+{
+       /* We never convert ImageSource from YUV to RGB (though maybe sometimes we should)
+          so it makes sense to just say they are never YUV so the option of a conversion
+          to RGB is not offered.
+       */
+       return false;
+}