X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fdcp_playback_test.cc;h=1e587e93ed179da17da97664bfca61c1c6ea428c;hb=39fb8198febde1937019db1c300ec363aab5aa56;hp=05554f4edd82538079761cf2ca7db86220579196;hpb=5b6b01ea778064a0b0125ea8ebd9272a534cccd2;p=dcpomatic.git diff --git a/test/dcp_playback_test.cc b/test/dcp_playback_test.cc index 05554f4ed..1e587e93e 100644 --- a/test/dcp_playback_test.cc +++ b/test/dcp_playback_test.cc @@ -26,7 +26,7 @@ #include using std::pair; -using boost::shared_ptr; +using std::shared_ptr; using boost::optional; #if BOOST_VERSION >= 106100 using namespace boost::placeholders; @@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test) AudioMapping(6, 6), 6, bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), - VIDEO_RANGE_FULL, + VideoRange::FULL, false, true) ); @@ -60,7 +60,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test) } /* assuming DCP is 24fps/48kHz */ butler->get_audio (audio_buffer, 2000); - p.first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VIDEO_RANGE_FULL, false, true); + p.first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, false, true); } delete[] audio_buffer; }