projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some DCP generation bugs and update some tests.
[dcpomatic.git]
/
test
/
pixel_formats_test.cc
diff --git
a/test/pixel_formats_test.cc
b/test/pixel_formats_test.cc
index 08c9f2d2def524e250692d67be7bcdc498ba5d35..fb2278fdbba39e8125bd43955a928fa3763a015e 100644
(file)
--- a/
test/pixel_formats_test.cc
+++ b/
test/pixel_formats_test.cc
@@
-62,6
+62,7
@@
BOOST_AUTO_TEST_CASE (pixel_formats_test)
f->width = 640;
f->height = 480;
f->format = static_cast<int> (i->format);
+ av_frame_get_buffer (f, true);
SimpleImage t (f);
BOOST_CHECK_EQUAL(t.components(), i->components);
BOOST_CHECK_EQUAL(t.lines(0), i->lines[0]);