Fix missing preview of referenced DCPs; deciding whether to ignore DCP content is...
[dcpomatic.git] / src / lib / j2k_image_proxy.cc
index 9914887738bc5859eba5a21eec55e88f15ee56db..303792b80f406e8e8417e401ed646f3410d10f81 100644 (file)
@@ -28,6 +28,8 @@
 #include <dcp/colour_conversion.h>
 #include <dcp/rgb_xyz.h>
 #include <libcxml/cxml.h>
+#include <libxml++/libxml++.h>
+#include <iostream>
 
 #include "i18n.h"
 
@@ -148,3 +150,10 @@ J2KImageProxy::same (shared_ptr<const ImageProxy> other) const
 
        return memcmp (_data.data().get(), jp->_data.data().get(), _data.size()) == 0;
 }
+
+J2KImageProxy::J2KImageProxy (Data data, dcp::Size size)
+       : _data (data)
+       , _size (size)
+{
+
+}