summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-07-14Fix tests on Ubuntu 24.04.Carl Hetherington
2024-07-03Add ebur128 test.Carl Hetherington
2024-07-03Bump libdcp to get FFmpeg 7.0.1.Carl Hetherington
This involves fixing a test whose references were wrong, as far as I can see. The new comment reflects what I think should have been happening the whole time.
2024-06-28Fix test build.Carl Hetherington
2024-06-28Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-06-27Fix error when importing bad subtitle file (#2838).Carl Hetherington
The subtitle XML refers to a font with no corresponding <LoadFont>.
2024-06-25Test data update for config upgrade test on Windows.Carl Hetherington
2024-06-25Fix tests after change to working directories.Carl Hetherington
2024-06-24Fix y offset direction of bitmap subs (#2807).Carl Hetherington
2024-06-24Add ProRes LT export option (#2834).Carl Hetherington
2024-06-24Use separate working directories for some tests.Carl Hetherington
2024-06-24Fix test references after adding HTTP server.Carl Hetherington
2024-06-24Add some context on XML comparison failures.Carl Hetherington
2024-06-18Add discouraging hint for MPEG2 (#2821).Carl Hetherington
2024-06-11Simplify the FontIDAllocator a lot (#2827).Carl Hetherington
This is at the expense of forward compatibility, and the need to re-examine subtitle content (losing custom fonts as we do so). But it does mean that the code is simpler, and there's not this weird growth of IDs where a DCP gets imported with some font, and then the ID becomes 0_font, and if you do it again it's 0_0_font, and so on.
2024-06-09Fix an erroneous font ID error that can happen when loading projects from ↵Carl Hetherington
builds without release version tags. So that last_written_by_earlier_than() always returns true, check_font_ids() happens when it doesn't really need to.
2024-06-08Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-06-07Fix font ID allocation from DCP when there are subs and ccaps using the same ↵Carl Hetherington
IDs (#2822). Previously we would always use <last-reel+1>_id as a disambiguated ID for every case.
2024-06-02Bump test/data for another subtitle rendering reference fix.Carl Hetherington
2024-05-30Render subtitles using show_in_cairo_context() instead of ↵Carl Hetherington
add_to_cairo_context(). This helps with #2813 and should fix #2474. We started using add_to_cairo_context() again in 72c3a5f0f32f553a1f8abee2494f31d29b976383 because the rendering looked better. However colour changes within lines cannot easily be rendered using add_to_cairo_context() it seems, as the text is just added as a path and then you can stroke/fill it with a single colour. I hope that this change, which reverts 72c3a5 but also adds some calls to enable hinting and use better anti-aliasing, looks OK. I looked at some white-on-black subs close-up and the hinting seems to help.
2024-05-29Fix merge.Carl Hetherington
2024-05-29Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-05-29Remove default Interop/SMPTE setting.Carl Hetherington
2024-05-29Remove default video bit rate settings.Carl Hetherington
2024-05-29Remove default DCP audio channel setting.Carl Hetherington
2024-05-29Remove default DCP content type setting.Carl Hetherington
2024-05-29Use ConfigRestorer to reset override_path after use.Carl Hetherington
2024-05-25Improve save-template dialog and always use a default template.Carl Hetherington
2024-05-22Rename new_test_film2 -> new_test_film.Carl Hetherington
2024-05-21Replace all new_test_film with new_test_film2.Carl Hetherington
2024-05-21Fix stream length for DCP content (#2688).Carl Hetherington
2024-05-20Cleanup, and try to make a test use less disk space.Carl Hetherington
2024-05-20More cleanups.Carl Hetherington
2024-05-20Another cleanup.Carl Hetherington
2024-05-20Clean up some more tests.Carl Hetherington
2024-05-20Clean up another big test.Carl Hetherington
2024-05-20Use new_test_film2.Carl Hetherington
2024-05-20Cleanup another test.Carl Hetherington
2024-05-20Add missing call to Cleanup::run().Carl Hetherington
2024-05-19Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-05-17Make sure we don't say some content has audio if none will be emitted.Carl Hetherington
In the FFmpeg (and shortly DCP) case we don't emit any audio if none is mapped, so we must take this into account in the player.
2024-05-16Some more test fixups.Carl Hetherington
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.