From 4b7b0edb359ae68f2dbcab90c7c10382f507fa5b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 Jun 2016 11:48:37 +0100 Subject: Add VideoFrame class. This puts a frame index with an Eyes, which simplifies code in some areas. I can't think of a better name for it, unfortunately. --- test/ffmpeg_decoder_sequential_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ffmpeg_decoder_sequential_test.cc') diff --git a/test/ffmpeg_decoder_sequential_test.cc b/test/ffmpeg_decoder_sequential_test.cc index 7435a4af0..6a27d698f 100644 --- a/test/ffmpeg_decoder_sequential_test.cc +++ b/test/ffmpeg_decoder_sequential_test.cc @@ -66,7 +66,7 @@ ffmpeg_decoder_sequential_test_one (boost::filesystem::path file, float fps, int list v; v = decoder->video->get (i, true); BOOST_REQUIRE_EQUAL (v.size(), 1U); - BOOST_CHECK_EQUAL (v.front().frame, i); + BOOST_CHECK_EQUAL (v.front().frame.index(), i); } #ifdef DCPOMATIC_DEBUG BOOST_CHECK_EQUAL (decoder->video->test_gaps, gaps); -- cgit v1.2.3