summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
2022-11-03Fix test references for passive option change.Carl Hetherington
2022-10-25Further test/data SNAFU.Carl Hetherington
2022-10-25Fix mangling of the v2.16.x test/data commit somewhere along the line.Carl Hetherington
2022-10-21Fix colour range property for subsampled sources (#2357).Carl Hetherington
2022-10-18Fix dark mode for release notes.Carl Hetherington
2022-10-17Remove some more unnecessary use of shared_ptr.Carl Hetherington
2022-10-10Add a test.Carl Hetherington
2022-09-26Typo in comment.Carl Hetherington
2022-09-26Fix build on older boosts, again.Carl Hetherington
2022-09-26Fix build on older boosts.Carl Hetherington
2022-09-26Provide a similar fix to the one in ff639b3cf30afcc097bfd21d39c8d15f466cadd6Carl Hetherington
for DCPs that contain subtitle files without <Font> tags.
2022-09-26Move Editor class to test.{cc,h}Carl Hetherington
2022-09-23Update test references for change to default .srt position.v2.16.27Carl Hetherington
2022-09-22Fix confusion about which test/data branch we're using (should be master).Carl Hetherington
2022-09-20Fix font_id_map errors when importing DCP subtitles that have noCarl Hetherington
font declarations / tags (#2339).
2022-09-20Fix subtitle_file() to find both Interop and SMPTE subtitles.Carl Hetherington
2022-09-17Allow specification of the CPL ID to use in a DCP with _create (#2302).Carl Hetherington
2022-09-15Fix some spelling mistakes (mostly in comments).Carl Hetherington
2022-09-10Move get_reel_assets() out of Player, as it doesn't need to be there.Carl Hetherington
2022-09-10Build fixes.Carl Hetherington
2022-09-10Support YUV444P10LE in make_part_black().Carl Hetherington
2022-09-09Make -S parameter to dcpomatic2_kdm_cli also filter screens (#2324).Carl Hetherington
2022-09-09Extract run() method to call kdm_cli().Carl Hetherington
2022-09-09Fix missing screen description in KDM CLI if you use the parameters in the ↵Carl Hetherington
"wrong" order.
2022-09-05Let config/cinemas/dkdm_recipients take care of their own recovery.Carl Hetherington
This should mean that if one fails to load, but the others are OK, we don't re-write everything. I hope this has no bad side-effects that I didn't think of. It's particularly helpful in the case of #2319 where a failure to load cinemas.xml (which was being created by another tool) caused the config to be re-written, breaking all existing DKDMs.
2022-09-04Add failing test.Carl Hetherington
2022-09-03Remove - and + from ratings before using them in a DCNC name.Carl Hetherington
I can't find any documentation about what we should do here, but at least this rule fits what https://registry-page.isdcf.com/ratings/ does.
2022-08-29Fix and test release notes.v2.16.22Carl Hetherington
2022-08-12Add a test for video YUV -> full RGB level conversion.Carl Hetherington
2022-08-11Allow cancellation of un-started jobs (#2777).Carl Hetherington
2022-08-11Lower some error thresholds now that check_image() actually works in these ↵Carl Hetherington
cases.
2022-08-11Fix broken writing of 16-bit images (the pixels must be written MSB-first).Carl Hetherington
2022-08-11Cleanup: remove duplicated code.Carl Hetherington