summaryrefslogtreecommitdiff
path: root/test/ffmpeg_decoder_sequential_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-14 11:48:37 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-14 11:48:37 +0100
commit4b7b0edb359ae68f2dbcab90c7c10382f507fa5b (patch)
tree2cf52d224651f1f0fb1b4fd0d542acf8b77835eb /test/ffmpeg_decoder_sequential_test.cc
parent3d6501346b187f35d0f55d16e13f8817f505a82f (diff)
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.
Diffstat (limited to 'test/ffmpeg_decoder_sequential_test.cc')
-rw-r--r--test/ffmpeg_decoder_sequential_test.cc2
1 files changed, 1 insertions, 1 deletions
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<ContentVideo> 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);