Replace aligned bool with enum Alignment.
[dcpomatic.git] / test / pixel_formats_test.cc
index a4d42e399375c11bb96c768b7afdde1c79755e3f..12a95bd6939b11d751edc6dd8c4e565a0f05d3bf 100644 (file)
@@ -88,7 +88,7 @@ BOOST_AUTO_TEST_CASE (pixel_formats_test)
                f->height = 480;
                f->format = static_cast<int> (i.format);
                av_frame_get_buffer (f, true);
-               Image t (f, false);
+               Image t (f, Image::Alignment::COMPACT);
                BOOST_CHECK_EQUAL(t.planes(), i.planes);
                BOOST_CHECK_EQUAL(t.sample_size(0).height, i.lines[0]);
                BOOST_CHECK_EQUAL(t.sample_size(1).height, i.lines[1]);