summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-05-16Fix some test references for auto-changing of cinemas file path to .sqlite3Carl Hetherington
Also come back to the v2.18.x branch of test/data.
2024-05-13Fix case where both XML and sqlite3 files are present, and config.xml still ↵Carl Hetherington
refers to the XML. Then we would leave the config.xml pointing at the XML, and everything after that assumes that cinemas_file is sqlite3. Instead we always set the cinemas file to the sqlite3 version, and convert if it it wasn't there before.
2024-05-11Stop using video directory and hard-linking (#2756).Carl Hetherington
Instead store details of a previously-created asset in the film's metadata and then look there for potential video files to re-use.
2024-05-11Fix doxygen comment.Carl Hetherington
2024-05-08Test build fix.v2.17.17Carl Hetherington
2024-05-08Fix incorrect file adding during merge.Carl Hetherington
2024-05-08Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-05-08Work around deadlock when destroying J2KEncoder with a full writer queue ↵v2.16.83Carl Hetherington
(#2784). This feels like a hack, but I can't think of a nicer way to do it. The interruption disable makes sense because when we destroy encoder threads during a DCP encode (because a remote server goes away, for example) we don't want any frames to be lost due to the encode thread being interrupted between taking the frame off the queue and sending it to the writer. When we're destroying the encoder we don't care about this, but I can't see how you'd differentiate. Maybe the encoder queue could have two lists: to-do and in-progress; the encoder thread atomically moves a frame from to-do to in-progress, but then how do you know when the in-progress ones are orphaned and need to be re-added to the main queue. You could make the writer return saying "no" if the queue is full (rather than blocking and waiting for the queue to empty) but that seems wasteful as then the frame would be re-encoded.
2024-05-06Use sqlite for cinema and DKDM recipient lists.Carl Hetherington
2024-05-06Cleanup a test and make it a bit more robust.Carl Hetherington
2024-04-29Fix failures in real_encode_with_server.Carl Hetherington
This test suddenly started failing because the server is never found, so never encodes any frames. It's a mystery why this started failing, and even more of a mystery why there seem to be two distinct reasons. Some failures were apparently due to firewalld blocking UDP broadcast; disabling the firewall would make the test pass again. Other failures were apparently caused by an old EncodeServerFinder hanging around, presumably finding servers before a new one had the chance.
2024-04-24Apply fixup to test/data submodule and bring it back to the v2.18.x branch.Carl Hetherington
2024-04-24Restore time zone to Cinema and improve UI to use it (#2473).Carl Hetherington
2024-04-22Clarify a test result when it fails.mpeg2Carl Hetherington
2024-04-22Allow specification of video bit rate separately for J2K and MPEG2.Carl Hetherington
2024-04-22Support encoding of MPEG2 DCPs.Carl Hetherington
2024-04-21Rename j2k_bandwidth -> video_bit_rate.Carl Hetherington
2024-04-21Extract frame info read/write to new class.Carl Hetherington
2024-04-21Extract VideoEncoder as a parent of J2KEncoder.Carl Hetherington
2024-04-21Rename Encoder -> FilmEncoder, and subclasses.Carl Hetherington
2024-04-21Rename classes to follow preparatory renames in libdcp.Carl Hetherington
2024-04-21Try to make test more robust.Carl Hetherington
2024-04-18Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-04-17Separate GUI verifier with basic reporting (#1823).Carl Hetherington
2024-04-02Add add-dkdm command to add DKDMs to DCP-o-matic's internal list from the CLI.Carl Hetherington
2024-04-02Switch "command-like" options --list-cinemas and --list-dkdm-cpls to actual ↵Carl Hetherington
commands.
2024-04-02Add --decryption-key option to KDM CLI (#2790).Carl Hetherington
2024-04-02Rename --certificate to --projector-certificate in KDM CLI.Carl Hetherington
2024-04-01Fix hanging/overlapping dvb subtitles (#2792).Carl Hetherington
This reverts a change made in 8ca6fd6d97e6d42492afddb655fa85130946853c "Fix doubled subtitles if subtitle stop times are specified." That change breaks the case where a subtitle _does_ have a stop time, but it's wrong (30s from the start time) and we want the next subtitle to clear the previous one. I can't now see how reverting this could cause doubled subtitles, so maybe that problem wlil come back. At least now there's a test for #2792.
2024-03-22Bump libdcp for new asdcplib version.Carl Hetherington
2024-03-20Replace std::random_shuffle (removed in C++17).Carl Hetherington
2024-03-20Allow building with C++17 and updated libxml++/pangomm/cairomm.Carl Hetherington
2024-03-20Remove all use of add_child() from xmlpp.Carl Hetherington
2024-03-20Fix failing tests.Carl Hetherington
Broken in the fix for #2780, when we started to check that referenced audio MXFs have the correct number of channels.
2024-03-11Fix failing tests.Carl Hetherington
Broken in the fix for #2780, when we started to check that referenced audio MXFs have the correct number of channels.
2024-03-11Use stored has_non_zero_entry_point() instead of parsing the DCP again (#2524).Carl Hetherington
2024-03-11Use openjpeg v2.5.2 (#2783).Carl Hetherington
Tests suggest it is considerably faster: * arrietty on Linux/AMD old: 03:35 new: 03:58 * Sintel.2010.1080p.mkv on Linux/AMD old: 0:29:49 new: 0:22:39 * TRAILER VERSIE 4.mov on Apple M1 old: 6:22 new: 5:15 * TRAILER VERSIE 4.mov on Windows/Intel old: 6:10 new: 4:12
2024-03-11Make check_one_frame more verbose when it fails.Carl Hetherington
2024-03-11Fix memory leak in test.Carl Hetherington
2024-03-09Merge branch 'main' into v2.17.xCarl Hetherington
2024-03-07Fix screen name order in KDM emails.Carl Hetherington
2024-02-22Merge tag 'v2.16.78' into v2.17.xv2.17.12Carl Hetherington
2024-02-21Make DCPExaminer::size() optional and deal with the consequences.v2.16.78Carl Hetherington
This means we can fix the case of a VF having no known size in a nice way, in turn fixing problems caused by the fix to #2775.
2024-02-21Fix failure to examine non-flat-ratio VFs (#2775).Carl Hetherington
2024-02-19Merge tag 'v2.16.77' into v2.17.xCarl Hetherington
2024-02-19Reset _next_video_time when deciding to emit black.Carl Hetherington
Otherwise if we inaccurately seek into an area with no video there will never be any content coming into ::video() which could reset _next_video_time. Then when a black frame is emitted using emit_video_until we will emit black frames from time 0 to the time of the inaccurate seek.
2024-02-16Add Unzipper.Carl Hetherington
2024-02-12Merge branch 'main' into v2.17.xCarl Hetherington
2024-02-11Don't add a font with an empty ID for ccaps either (#2762).Carl Hetherington
Previously this was all changed so that for subs we add the default font in a cleaner way (in db22f81ccce9e1a5f205e6d8b3c0631fc039a173). I can't see why we shouldn't treat ccaps the same way, and indeed not doing it causes an error as shown by the included test.
2024-02-11Fix apparently ineffective processors when analysing audio (#2671).Carl Hetherington
A whole film ("DCP side") analysis would behave the same as a single piece of content analysis if the film only had one piece of content. Here we also clarify that audio analysis of the whole film is different to that for a single piece of content; for the whole film we use processors, and for single pieces of content we do not.