Fix font_id errors with files decoded by FFmpeg which have subtitles.
authorCarl Hetherington <cth@carlh.net>
Sat, 9 Jul 2022 21:08:56 +0000 (23:08 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 11 Jul 2022 10:22:11 +0000 (12:22 +0200)
commitebf89c5e6200b65e5cc48bb7b3af23ab68ede749
treef906abac541a783664640af07098bc7f058cc7c7
parentb1e22dff981fb86ae04b12bb5a064e61030793a8
Fix font_id errors with files decoded by FFmpeg which have subtitles.

I'm not sure if this goes far enough - it seems impossible to find all
the font IDs used in a FFmpeg file without scanning it.  I don't know
if (for example) SSA-format font IDs make it through to DoM when decoded
by FFmpeg.
src/lib/ffmpeg_content.cc
test/subtitle_font_id_test.cc