summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
2023-06-30Clean up after some more tests.Carl Hetherington
2023-06-29Disable asset hash checks that the libdcp bump fixes.Carl Hetherington
2023-06-24Fix config test reference after ISDCF name config option.Carl Hetherington
2023-06-05Give filler subtitle reels <LoadFont> nodes in SMPTE (#2547).Carl Hetherington
2023-06-04Fix missing subtitle language in CPL on auto-created empty subtitle assets ↵Carl Hetherington
(#2548).
2023-06-03Missing ConfigRestorer.Carl Hetherington
2023-06-02Fix incorrect hint about having too many subtitle lines in some cases (#2546).Carl Hetherington
2023-06-02Improve a test failure message.Carl Hetherington
2023-05-30Fix errors when mapping DCPs referring to the same asset multiple times (#2542).Carl Hetherington
2023-05-30Clarify some test failure messages.Carl Hetherington
2023-05-30Add a test with hard-linking.Carl Hetherington
2023-05-30Move test into its own method.Carl Hetherington
2023-05-30Add --config option to map (#2543).Carl Hetherington
2023-05-29Don't write Markers to interop CPLs (#2537).Carl Hetherington
2023-05-28Bump libdcp for fix to crash with interop subtitles (#2536).Carl Hetherington
2023-05-18Cleanup: replace some list with vector.Carl Hetherington
2023-05-13Add dcpomatic2_map tool (#2445).Carl Hetherington
2023-05-13Fix some typos in comments.Carl Hetherington
2023-05-13Add verify_dcp().Carl Hetherington
2023-05-12Handle fonts for ccaps coming from DCP content (#2525).Carl Hetherington
Not dealing with them calls all sort of chaos as described in the bug report.
2023-05-12Cleanup: include/using sorting.Carl Hetherington
2023-04-22Add some more bandwidths to a test.Carl Hetherington
2023-04-19In 1c73379ed8483dcf71c5ccfc459c2c22516a9aef I changedCarl Hetherington
FontConfig::_available_fonts to use the font ID as a key, but that's totally wrong because the same Font object with the same ID can have its font filename/data changed, and in that case we don't want to use the cached font. Here we use the actual TTF/OTF font data as the key. We could have just hashed the data (whether it comes from a disk file or is held in memory) but this is slower in the case where we have the filename, as then the file must be loaded from disk for each comparison. This fixes #2518.
2023-04-11Give an error if a non-number is passed to dcpomatic2_create -s (#2488).Carl Hetherington
2023-03-29Add some more test cleanups.Carl Hetherington
2023-03-29Write the correct MCA subdescriptors depending on active channels.Carl Hetherington
2023-03-29Fix dependence of test on a particular j2c path.Carl Hetherington