X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fplayer.h;fp=src%2Flib%2Fplayer.h;h=b6ee4e9c636d8adacb08da38b0810108c8802694;hp=22701cb2ca452c486746f643063c7bb7affa1250;hb=111c05bebe5bc2b6f0031f66e429390ffe704556;hpb=9adbb3c5ab5d90268a3009c4a6f1bbc5f6290d81 diff --git a/src/lib/player.h b/src/lib/player.h index 22701cb2c..b6ee4e9c6 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -32,6 +32,7 @@ #include "content_text.h" #include "content_video.h" #include "empty.h" +#include "enum_indexed_vector.h" #include "film.h" #include "image.h" #include "player_text.h" @@ -224,7 +225,7 @@ private: Empty _black; Empty _silent; - ActiveText _active_texts[static_cast(TextType::COUNT)]; + EnumIndexedVector _active_texts; std::shared_ptr _audio_processor; boost::atomic _playback_length;