diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-13 21:22:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-17 20:13:22 +0100 |
| commit | 7701297decde2568e11feddede28177077e164cc (patch) | |
| tree | 7e8b954131ec7b0acea562d00161e4b32e831a3f /test/test.h | |
| parent | 5382d3e0e587b1882ea39be146bbd9dd5700c3bb (diff) | |
Extent black_image() to make images of any size.
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.h b/test/test.h index 1368973a..1d9cd921 100644 --- a/test/test.h +++ b/test/test.h @@ -50,7 +50,7 @@ extern std::shared_ptr<dcp::DCP> make_simple_with_interop_subs (boost::filesyste extern std::shared_ptr<dcp::DCP> make_simple_with_smpte_subs (boost::filesystem::path path); extern std::shared_ptr<dcp::DCP> make_simple_with_interop_ccaps (boost::filesystem::path path); extern std::shared_ptr<dcp::DCP> make_simple_with_smpte_ccaps (boost::filesystem::path path); -extern std::shared_ptr<dcp::OpenJPEGImage> black_image (); +extern std::shared_ptr<dcp::OpenJPEGImage> black_image (dcp::Size size = dcp::Size(1998, 1080)); extern std::shared_ptr<dcp::ReelAsset> black_picture_asset (boost::filesystem::path dir, int frames = 24); /** Creating an object of this class will make asdcplib's random number generation |
