summaryrefslogtreecommitdiff
path: root/test/hints_test.cc
AgeCommit message (Collapse)Author
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-05-22Rename new_test_film2 -> new_test_film.Carl Hetherington
2024-01-15Fix handling of empty font IDs and default DCP fonts (#2721) (part of #2722).Carl Hetherington
Previously we used an empty font ID as the default for when a subtitle has no Font, but in #2721 we saw a DCP with an empty font ID which raised an assertion (because we'd already added our default font with the empty ID). Here we try to fix this (and also make the default font correctly be that from the first <LoadFont>).
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-02You are advised -> It is advisable (#2189).Carl Hetherington
2023-09-08Fix hints test now that subtitle reader gives an error on large fonts.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
2022-12-10Extract constants.hCarl Hetherington
2022-07-11Use a vector rather than a list when returning from content_factory().Carl Hetherington
2022-06-10Fix hints test after subtitle font changes.Carl Hetherington
2022-06-07Throw exceptions when Hints thread fails in tests.Carl Hetherington
2022-05-05Use dcp::File in DCP-o-matic (#2231).Carl Hetherington
2022-02-14Add hint about excessive certificate validity.Carl Hetherington
2022-01-11Speed up hints tests by not running a pointless audio analysis.Carl Hetherington
2021-06-01Add hint when no audio language is set (#2033).Carl Hetherington
2021-04-21Add a possibly-useful test.Carl Hetherington
2021-04-10Fix up hints about long subtitle lines.Carl Hetherington
2021-04-06Add language to some text used in tests to avoid a verification error.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-08Fix test build on macOS.Carl Hetherington
2020-12-08Write subtitles and closed captions to a test DCP in the hints thread,Carl Hetherington
then check the result for Bv2.1 violations (part of #1800).
2020-12-06Add some hints for violations of SMPTE Bv2.1 with subtitles and closedCarl Hetherington
captions.