Don't insert incorrect <Effect> nodes into metadata (#2581).
authorCarl Hetherington <cth@carlh.net>
Sun, 2 Jul 2023 20:03:28 +0000 (22:03 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 2 Jul 2023 20:04:10 +0000 (22:04 +0200)
commitfc10e39ac88ee16a711d1d643f863e84dcd8157d
tree070a6bd820888113e3c5f9f24089cb0e56e7c545
parent5f3ba49300f3e3d5ac36a2ce33dadc6d1ffc049c
Don't insert incorrect <Effect> nodes into metadata (#2581).

Previously we would add assume Effect=none (i.e. force all subtitles
to have no effect) if neither of the legacy tags Border or Shadow
were present in the metadata.  In this case we should just leave
Effect as unset.
src/lib/text_content.cc
test/film_metadata_test.cc