Fix DCP content font ID allocation to cope with DCPs that have multiple fonts
[dcpomatic.git] / src / lib / dcp_decoder.h
index 803c93a86f308c5cf2adddeac502977a2351a46b..2c0cd8f413ad7612ceeeae3e122694a9bf6d2bf2 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "atmos_metadata.h"
 #include "decoder.h"
+#include "font_id_allocator.h"
 #include <dcp/mono_picture_asset_reader.h>
 #include <dcp/stereo_picture_asset_reader.h>
 #include <dcp/sound_asset_reader.h>
@@ -106,4 +107,6 @@ private:
        boost::optional<int> _forced_reduction;
 
        std::string _lazy_digest;
+
+       FontIDAllocator _font_id_allocator;
 };