summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-11-04Stop some tests from writing things to test/data.Carl Hetherington
2021-11-04Run one test with fewer cores to stop it running out of memory on a 16-core ↵Carl Hetherington
16Gb machine.
2021-11-04Add ConfigRestorer and use it instead of setup_test_config() directly.Carl Hetherington
2021-11-04Add failing test.Carl Hetherington
2021-11-04Tidying.Carl Hetherington
2021-10-27Add a new test for subtitle timing when changing frame rate.Carl Hetherington
2021-10-17Basic and slightly inaccurate support for <Space> in subtitles (#2103).v2.15.170Carl Hetherington
Adding horizontal space to a Pango layout is hard, and I think this change probably gets it slightly wrong, but it's a step in the right direction.
2021-10-16Always block waiting for audio when exporting.v2.15.169Carl Hetherington
Otherwise if there is non available we'll insert silence and potentially push the audio out of sync (late). May help with #2098.
2021-10-16Use an enum instead of a bool to specify blocking/non-blocking.Carl Hetherington
2021-10-15Fix test logging setup to actually work.Carl Hetherington
2021-10-15Add a failing test.Carl Hetherington
2021-10-12Hopefully fix race between thread finishing and cleanup being run (#2100).Carl Hetherington
2021-10-11Don't throw an error when the Butler says it is finished (#2097).Carl Hetherington
2021-10-10Fix a test reference to account for windows filename slashes.Carl Hetherington
2021-10-09Don't ignore font settings for DCP subtitles (#2074).v2.15.167Carl Hetherington
2021-09-27Fix tests.v2.15.163Carl Hetherington
2021-09-27Test fixes.better-glCarl Hetherington
2021-09-27Various alignment tidying/fixups.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-09-27Setup Butler::_prepare_only_proxy on construction.Carl Hetherington
2021-09-27Add config location versioning (#2090).Carl Hetherington
2021-09-25Read ISDCF Metadata from 2.14.x metadata (#2083).cah
2021-09-20Add LastWrittenBy to metadata (#2080).Carl Hetherington
2021-09-20Use a constexpr and a nullptr.Carl Hetherington
2021-09-19Fix failure to open v2.14.x documents with invalid or empty subtitle ↵Carl Hetherington
languages (#2085).
2021-08-12Missed test/data update.Carl Hetherington
2021-08-12Don't write empty <Text> nodes in subtitles/closed captions.Carl Hetherington
2021-07-03Use std::vector rather than a raw array.Carl Hetherington
2021-06-24Fix incorrect timestamps when exporting as reels (#2052).v2.15.155Carl Hetherington
2021-06-24Tweak test group name.Carl Hetherington
2021-06-24Fix incorrect issuer/creator in CPL files.Carl Hetherington
2021-06-04Fix errors when seeking FFmpeg for some formats.Carl Hetherington
The comments discuss this in a bit more depth, but basically we see errors from avcodec_send_packet after seek. ffplay etc. seem basically to ignore all errors from avcodec_send_packet, and I can't find a "proper" fix, so here's a half-way house hack: ignore some errors after seek. Nasty.
2021-06-03C++11 tidying.Carl Hetherington
2021-06-03Ignore errors from avcodec_receive_frame when flushing video (#2035).Carl Hetherington
The test fails if we don't do this; it doesn't really seem 100% convincing but we are already doing this for audio.
2021-06-01Add hint when no audio language is set (#2033).Carl Hetherington
2021-06-01Put audio language back in the Film.Carl Hetherington
It feels neat to have audio language in the audio tab, to match the subtitle language in the subtitle tab. It also avoids the potential confusion of there being an audio language setting in the DCP metadata but no subtitle language setting. However: - I am yet to find a need to describe multiple audio languages in the same DCP (all previous users of Film::audio_languages() were just taking the first language off the list). - As Carsten points out it's fiddly to have to set the audio language for 5 separate-channel WAV files, for example (you wouldn't actually have had to do this, but it would have felt like you did). I think subtitle language remains neater where it is (per-content) as there is this additional subtitle language metadata and it makes much more sense (and is much more likely) that there are multiple subtitle languages in a DCP than it does multiple audio languages.
2021-05-31Allow any ratio to appear in the ISDCF name as an interior aspect ratio (#2030).Carl Hetherington
2021-05-27Bump libdcp for fix to decryption of SMPTE subtitles.Carl Hetherington
Also add a test for that.
2021-05-26Fix potential very rare test failure.Carl Hetherington
2021-05-26Remove privilege escalation via seteuid() etc. on Linux.Carl Hetherington
2021-05-25Move video level conversion for RGB from FFmpegImageProxy to Image.Carl Hetherington
Since FFmpeg does not do video level conversion for RGB sources when we (sort of) ask it to in Image::crop_scale_window() it seems to make more sense to compensate for that by calling full_to_video_range() in the same place (rather than in FFmpegImageProxy).
2021-05-25Clamp results correctly when shifting video levels, and account for that in ↵Carl Hetherington
tests.
2021-05-25Make a test check more informative.Carl Hetherington
2021-05-25Use decoder_factory() and a lambda to clean things up a bit.Carl Hetherington
2021-05-11Don't apply the Windows long path fix twice.v2.15.147Carl Hetherington
2021-05-09Remove erroneous call to optional_node_child().Carl Hetherington
Just after this we loop over all <Text> nodes, and optional_node_child will raise an exception if there is more than one.
2021-05-09C++11 tidying.Carl Hetherington
2021-05-03C++11 tidying.Carl Hetherington
2021-05-03Add pixel format 0 (AV_PIX_FMT_YUV420P) to make_part_black().Carl Hetherington
Remainder of fix for #1984.