X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fj2k_encoder.h;fp=src%2Flib%2Fj2k_encoder.h;h=4bdedb0604d17ae40cd2f1437c15a407c3e31500;hp=a52cf0d1fc44f264bc614b33877d32a1d79b981a;hb=607b1b4d8061237e3c90368c73c58a172a69c950;hpb=592fa9ba3913a37676260bd581398a6b49496677 diff --git a/src/lib/j2k_encoder.h b/src/lib/j2k_encoder.h index a52cf0d1f..4bdedb060 100644 --- a/src/lib/j2k_encoder.h +++ b/src/lib/j2k_encoder.h @@ -29,6 +29,7 @@ #include "cross.h" +#include "enum_indexed_vector.h" #include "event_history.h" #include "exception_store.h" #include "util.h" @@ -105,7 +106,7 @@ private: std::shared_ptr _writer; Waker _waker; - std::shared_ptr _last_player_video[static_cast(Eyes::COUNT)]; + EnumIndexedVector, Eyes> _last_player_video; boost::optional _last_player_video_time; boost::signals2::scoped_connection _server_found_connection;