diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-11 21:21:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-17 20:13:23 +0100 |
| commit | 9df315a026b7c30ee416a090c583e01f65b86d03 (patch) | |
| tree | d4e21aea9319a319b7ec691cb8d6f2839a899daf /test/test.h | |
| parent | e668388d1a552c845dbe9ae3cdcdfd979f2da582 (diff) | |
Give simple_{picture,sound} a length parameter and fix crazy implementation of simple_sound().
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.h b/test/test.h index fb299d1d..6a6a57d2 100644 --- a/test/test.h +++ b/test/test.h @@ -43,10 +43,10 @@ extern boost::filesystem::path xsd_test; extern void check_xml (xmlpp::Element* ref, xmlpp::Element* test, std::vector<std::string> ignore_tags, bool ignore_whitespace = false); extern void check_xml (std::string ref, std::string test, std::vector<std::string> ignore, bool ignore_whitespace = false); extern void check_file (boost::filesystem::path ref, boost::filesystem::path check); -extern std::shared_ptr<dcp::MonoPictureAsset> simple_picture (boost::filesystem::path path, std::string suffix); -extern std::shared_ptr<dcp::SoundAsset> simple_sound (boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language); +extern std::shared_ptr<dcp::MonoPictureAsset> simple_picture (boost::filesystem::path path, std::string suffix, int frames = 24); +extern std::shared_ptr<dcp::SoundAsset> simple_sound (boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language, int frames = 24); extern std::shared_ptr<dcp::Subtitle> simple_subtitle (); -extern std::shared_ptr<dcp::DCP> make_simple (boost::filesystem::path path, int reels = 1); +extern std::shared_ptr<dcp::DCP> make_simple (boost::filesystem::path path, int reels = 1, int frames = 24); extern std::shared_ptr<dcp::DCP> make_simple_with_interop_subs (boost::filesystem::path path); 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); |
