X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fplay_test.cc;h=b950044a81bd3ba8a599c4c76d14d7766d47fabd;hb=12a4f797f8bb8aa512ec7a4c14dd060008a73dab;hp=067f772ff1f4af6bcaa3541f1ba9f53f64efa383;hpb=4e411ea97b4dab8a5fa282d1d4cf7971ef1e24ad;p=dcpomatic.git diff --git a/test/play_test.cc b/test/play_test.cc index 067f772ff..b950044a8 100644 --- a/test/play_test.cc +++ b/test/play_test.cc @@ -23,6 +23,7 @@ #include "lib/dcp_content_type.h" #include "lib/player_video_frame.h" #include "test.h" +#include /* This test needs stuff in Player that is only included in debug mode */ #ifdef DCPOMATIC_DEBUG @@ -51,7 +52,7 @@ public: { Video v; v.content = _player->_last_video; - v.image = i->image (); + v.image = i->image (PIX_FMT_RGB24); v.time = t; _queue.push_front (v); } @@ -62,7 +63,7 @@ public: if (_queue.empty ()) { return optional