Use newer format to specify filter graphs; don't filter unless necessary; fix tiny...
[dcpomatic.git] / test / pixel_formats_test.cc
index e0f6c4373a4f783f5f90f04a3319fff7eaa1246d..e8ad725ff5f85b83cbfa7152eefabecd97051b51 100644 (file)
@@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE (pixel_formats_test)
                f->width = 640;
                f->height = 480;
                f->format = static_cast<int> (i->format);
-               FrameImage t (f);
+               FrameImage t (f, true);
                BOOST_CHECK_EQUAL(t.components(), i->components);
                BOOST_CHECK_EQUAL(t.lines(0), i->lines[0]);
                BOOST_CHECK_EQUAL(t.lines(1), i->lines[1]);