Don't add a font with an empty ID for ccaps either (#2762).
authorCarl Hetherington <cth@carlh.net>
Sun, 11 Feb 2024 19:13:04 +0000 (20:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 11 Feb 2024 22:31:39 +0000 (23:31 +0100)
commiteb04ac87ccfa046dd342ca7b9e6478c3bdcabbba
tree8a939c134853fd01922c99cbda27b3cb9373459a
parent411b2d5a2633140b66de493c446d6c80df114e20
Don't add a font with an empty ID for ccaps either (#2762).

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.
src/lib/dcp_examiner.cc
test/data
test/subtitle_font_id_test.cc