Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / lib / ffmpeg_image_proxy.h
index b2b0260b5437eab63ae99bc66e8d30ad76349ddd..b567fadee0825e2c6506746c6d44739c999132ea 100644 (file)
@@ -19,7 +19,6 @@
 */
 
 #include "image_proxy.h"
-#include "types.h"
 #include <dcp/array_data.h>
 #include <boost/thread/mutex.hpp>
 #include <boost/filesystem.hpp>
@@ -51,6 +50,6 @@ private:
            failed-decode errors can give more detail.
        */
        boost::optional<boost::filesystem::path> _path;
-       mutable std::shared_ptr<Image> _image;
+       mutable std::shared_ptr<const Image> _image;
        mutable boost::mutex _mutex;
 };