summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2023-10-16Remove unused code.Carl Hetherington
2023-10-16This test suddenly just started failing withCarl Hetherington
opj_int_fix_mul: Assertion `(temp >> 13) <= (OPJ_INT64)0x7FFFFFFF' failed. which is odd - why now? Anywhere here we limit the OpenJPEG image values to what I think is the "legal" range.
2023-10-15Fix DCP content font ID allocation to cope with DCPs that have multiple fontsCarl Hetherington
with the same name in the same reel (#2600). Previously we had this id_for_font_in_reel() which would give an ID of N_font-ID. This means we got duplicate font IDs. Here we replace that method with FontAllocator, which gives an ID of N_font-ID for the first font and M_font-ID, where M is a number higher than the highest reel index. The idea is to support the required new IDs without breaking exisiting projects. There is some documentation of how it works in doc/design/fonts
2023-10-09Use dcp::filesystem to wrap filesystem calls and fix_long_pathCarl Hetherington
anything that is passed to read_file() from libcxml. This should fix #2623 and other similar problems.
2023-10-02You are advised -> It is advisable (#2189).Carl Hetherington
2023-09-30Cleanup: use a lambda.Carl Hetherington
2023-09-30Fix test/data branching SNAFU.Carl Hetherington
2023-09-30Allow DCP content type from template to work.Carl Hetherington
2023-09-30Allow SMPTE/interop setting from template to work.Carl Hetherington
2023-09-30Add --no-encrypt with the same idea as the previous commit.Carl Hetherington
2023-09-30Add --twod option to create CLI and stop 2D from being forced overCarl Hetherington
a template if --threed is not specified (#2620/GH#22).
2023-09-30Cleanup: add some _ prefixes.Carl Hetherington
2023-09-29Support alpha blending 64-bit RGB onto things.Carl Hetherington
2023-09-29Rename alpha_blend_test_one -> alpha_blend_test_bgra_onto.Carl Hetherington
2023-09-29Fix errors with WAVs containing markers (#2617).Carl Hetherington
I'm not 100% sure about this but they seem to end up giving audio packets with no channels and no frames. Here we handle such packets better.
2023-09-12Somewhat fix inclusion of CCAP language in ISDCF name (#2610).Carl Hetherington
2023-09-10Cleanup: use some stack allocation and shared_ptr.Carl Hetherington
2023-09-08Fix hints test now that subtitle reader gives an error on large fonts.Carl Hetherington
2023-09-07Sanitise asset names after potentially failed %-based substitutions (#945).Carl Hetherington
If there's a %x in the format string, where %x is not recognised, we should at least remove the %.
2023-09-07Cleanup: use ConfigRestorer instead of Keep class.Carl Hetherington
2023-09-04Use configured issuer/creator for DCPs made by map (#2585).Carl Hetherington
2023-09-03Ignore newlines in subtitle text (#2341).Carl Hetherington
2023-09-01Missing #ifdef for Windows references.Carl Hetherington
2023-08-29Fix vertical alignment of subtitles in some cases (#2569).Carl Hetherington
2023-08-29Give a more useful error when check_dcp() fails.Carl Hetherington
2023-08-29Restore burnt subtitle tests.Carl Hetherington
2023-08-29Cleanup: use some more vector instead of list.Carl Hetherington
2023-08-27Fix tests when changing the cinemas file.Carl Hetherington
2023-08-27Handle fonts/subdirs correctly for CCAPs with _map (#2584).Carl Hetherington
2023-08-27Fix refusal to reference overlapping but different text content (#2599).Carl Hetherington
2023-08-26Update test/data for missing test reference.Carl Hetherington
2023-08-26Set up packet duration correctly when encoding using FFmpeg (#2588).Carl Hetherington
It seems strange that this is necessary (maybe I'm missing some other way that the packet duration is supposed to be set up). Without this, when the mov muxer writes the trak tags it uses an incorrect length value because the length value is calculated from trk->end_pts, which in turn is calculated from the last-seen pts + the duration of the last packet. If that packet is marked as length 0 the length of the track is 1 frame short, so the export is missing a frame.
2023-08-26Try to capture ffmpeg logs during tests.Carl Hetherington
2023-08-24Add --cinemas-file option to KDM CLI.Carl Hetherington
2023-08-20Another signed/unsigned mismatch.Carl Hetherington
2023-08-20Fix unsigned/signed mismatch.Carl Hetherington
2023-08-15Add Audiobuffers::set_channels().Carl Hetherington
2023-08-15Remove now-unnecessary assertion.Carl Hetherington
Since e29ce33a36c2e20444d57196defc86d5072bce81 channels is the number of channels in the frame, and also the number in data, so we don't need to check this any more.
2023-08-11Fix tests on Windows.Carl Hetherington
2023-08-09Add some tests.Carl Hetherington
2023-08-09Extract Film::Property to its own header to (maybe) increase compilation speed.Carl Hetherington
2023-08-09Add a test.Carl Hetherington
2023-08-06Default to writing 8 audio channels in DCPs (#2443).Carl Hetherington
It seems likely that 8 channels is slightly less likely to trip validation warnings from some distributors, and so it seems worth accepting the potential waste of 2 channels. Users can always set this back to 6 again (once, and it will be saved) and those upgrading from old versions won't be affected anyway.
2023-08-06Go back to respecting the user's choice for the number of audio channels in ↵Carl Hetherington
the MXF.
2023-07-29Check channel count when comparing audio MXFs.Carl Hetherington
2023-07-29Don't check sound assets in some tests.Carl Hetherington
When fiddling with MXF channel counts it makes a lot of tests fail that probably don't need to.
2023-07-27Bump libdcp to one with some cleanups / header re-arrangement.Carl Hetherington
2023-07-02Don't insert incorrect <Effect> nodes into metadata (#2581).Carl Hetherington
Previously we would add assume Effect=none (i.e. force all subtitles to have no effect) if neither of the legacy tags Border or Shadow were present in the metadata. In this case we should just leave Effect as unset.
2023-07-01Add another test.Carl Hetherington
2023-06-30Don't write MainSoundConfiguration with 71 when we only have HI/VI (#2580).Carl Hetherington