summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2023-03-03Add word_wrap().Carl Hetherington
2023-02-27Strip disallowed characters from subtitles before they get into the XML.Carl Hetherington
2023-02-27Fix tests.Carl Hetherington
2023-02-27Support the 2014 version of SMPTE 428-7 in render_text.cc and use itCarl Hetherington
when placing subtitles (e.g. SRT). Also default to outputting 2014-era alignment.
2023-02-27Remove debug message.Carl Hetherington
2023-02-12Fix build for new libdcp.Carl Hetherington
2023-02-11Pass make_kdm as a function into kdm_for_screen().Carl Hetherington
2023-02-11Cleanup: extract encrypt() call from Film::make_kdm().Carl Hetherington
2023-02-11Warn/error on making KDMs using recipient certs whose validity periodsCarl Hetherington
lie outside those of the KDMs (#2423).
2023-02-10Fix multiple video overlaps.Carl Hetherington
2023-02-10Add failing test.Carl Hetherington
2023-02-01Handle 2D/3D mismatches in the player (#2409).Carl Hetherington
Previously if there was 2D content in a 3D project (or vice versa) the player would emit the video anyway and the encoder would have to deal with it. Since previously the FFmpeg encoder did not deal with this quite right, it seems to make sense to move the logic into the player so that neither encoder has to worry about it.
2023-01-23Fix isdcf name ATMOS test.Carl Hetherington
2023-01-18Support Dolby-style WAV back surround names when guessing mappings (#2427).Carl Hetherington
2023-01-18Add -ISDCF to ISDCF name as required (#2416).Carl Hetherington
2023-01-17Debug code to print out available icu locales.Carl Hetherington
2023-01-17Allow Collators to have their language specified, and specify it for tests.Carl Hetherington
2023-01-17Add basic Collator::find() method.Carl Hetherington
2023-01-17Add some very basic tests of Collator.Carl Hetherington
2023-01-14Add options for where the add files dialog starts (#2413).Carl Hetherington
2023-01-02Fix errors when a custom size is given which is larger than the container ↵Carl Hetherington
(#2404).
2022-12-29Cleanup: test tidying.Carl Hetherington
2022-12-25Show audio bit depth in content properties (#559).Carl Hetherington
2022-12-25Cleanup: use some auto / make_shared.Carl Hetherington
2022-12-16Make sure main picture active area values are even (#2392).Carl Hetherington
2022-12-13Add video_{range,frame_type}.{cc,h} and remove some types.h includes.Carl Hetherington
2022-12-10Extract constants.hCarl Hetherington
2022-12-07Add a test to verify passthrough of 3D -> 2D data.Carl Hetherington
2022-12-05Fix tests on Windows now that we replace . with _ in filenames.Carl Hetherington
2022-12-02Don't use "NR" in the ISDCF name if there is no rating.Carl Hetherington
Thierry says this is not used out in the wild, and I can't find any reference to say that it must be there, so remove it.
2022-12-02Fix stupid mistake in previous commit.Carl Hetherington
2022-12-02Catch problems when using dcp_file() and getting more than one answer.Carl Hetherington
2022-12-02Fix unreliable test.Carl Hetherington
2022-12-01Escape entities just before Pango rendering (#2382).v2.16.35Carl Hetherington
Previously, text coming out of the player would have things like & escaped to &. This escaping is also done by libxml++ when writing XML, so doing it in the player would mean it was done twice. We do, however, need to escape things before passing them to Pango as otherwise it gives errors and renders nothing for the line. Here we move the escaping to just before the rendering, meaning that in the reset of DoM we should pass unescaped strings around.
2022-12-01Add some failing tests.Carl Hetherington
2022-11-29Remove default container configuration option.Carl Hetherington
I think this is basically useless now that DoM guesses a good container when the first video is added. It made more sense before we did that.
2022-11-26Return AVERROR_EOF from the avio_read method when appropriate.Carl Hetherington
2022-11-26Noisy change to get film into AudioContent::modify_trim_start().Carl Hetherington
2022-11-26Add another test, including a frame rate change.Carl Hetherington
2022-11-26Give a slightly better error message in a failing test.Carl Hetherington
2022-11-26Add failing test for #2373.Carl Hetherington
2022-11-25Fix sound corruption with multiple sound files (#2368).Carl Hetherington
last_push_end would be initialised to the position of the content, meaning that content at (for example) 60s into the project would be treated as the leader, and content much earlier would then be considered finished by the code which checks ignore_streams_behind (as its last push was more then 5s before the leader). This caused audio corruption, shown up by the test here.
2022-11-25Cleanup: use dcp_file().Carl Hetherington
2022-11-24Allow a slightly worrying amount of error so that the Windows testsCarl Hetherington
that rely on font metrics still pass.
2022-11-22Be a bit more defensive in a test that is failing on Windows.Carl Hetherington
2022-11-22Fix some missing test reference updates for vpos changes.Carl Hetherington
2022-11-21Fix test/data detachment SNAFU.Carl Hetherington
2022-11-21Fix subtitle vertical position (#2367).Carl Hetherington
Previously we would not account for the differences in what vertical position means between Interop and SMPTE. For interop, vertical position is the distance from the reference point to the text baseline, whereas for SMPTE it is the distance from the reference point to the top/middle/bottom of the subtitle (depending on the reference). This caused differences between the preview and the DCP for some cases (notably, using SRT/SSA and making Interop DCPs, or converting Interop DCP subs to SMPTE, or vice versa).
2022-11-15Add failing test for #2364.Carl Hetherington
2022-11-03Bump libdcp for subtitle Z-position fixes (#2356).Carl Hetherington