Fix subtitle parser to cope with
authorCarl Hetherington <cth@carlh.net>
Wed, 14 Jan 2015 09:05:13 +0000 (09:05 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 14 Jan 2015 09:05:13 +0000 (09:05 +0000)
commitb0a9bc81744440404d68bcbdc8bda925a8a64597
tree0861022624056676003c0ecc292e7bb0d79f08ef
parent287d8bb5eb247e8746718a919091fff09b0b624d
Fix subtitle parser to cope with
<Text>Hello this is some <Font italic="yes">italic</Font> text</Text>.
The data structures are unable to cope, so hack it to use
Pango markup in those cases (formatting changes during a line).
src/subtitle_asset.cc
src/subtitle_asset.h
test/subtitle_tests.cc