Don't unconditionally clear _fonts when inspecting assets (DoM #2536). v1.8.70
authorCarl Hetherington <cth@carlh.net>
Sun, 28 May 2023 00:12:39 +0000 (02:12 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 28 May 2023 18:55:30 +0000 (20:55 +0200)
commit970c75b75f9acc5dad4f3df10938687552b57874
tree62d10d326001bc672a8f8ac112da4cd8fab96788
parentaf8a3bcc86e89afac79ee6bda3fea811f25f3cc8
Don't unconditionally clear _fonts when inspecting assets (DoM #2536).

resolve_fonts() is sometimes called for the same asset with different
lists of things to check.  If it is called first with a font, and
then without one, we want to keep the font from the first call.
src/interop_subtitle_asset.cc