summaryrefslogtreecommitdiff
path: root/test/smpte_subtitle_test.cc
AgeCommit message (Collapse)Author
2021-04-16Improve handling of image subtitle IDs in XML (DoM bug #1965)backportCarl Hetherington
When reading/writing the XML for image subtitles, we assumed that the content of the <Image> tag is just the ID of the PNG in the MXF, without any prefix. DoM bug #1965 mentions a DCP where this is not the case, and SMPTE 429-5-2009 has an example where there is urn:uuid: in the XML. This change makes DoM write this urn:uuid: prefix, and accept it if it's present (but not complain if it's not). If the urn:uuid: _is_ required in the field, it's a bit surprising that nobody has complained up to this point. Maybe nobody noticed, or nobody reported it. Cherry-picked from 098007a1ee6a46b6ff11398f94faff5c85951da4 in master.
2021-04-16Move some tests from write_subtitle_test to smpte_subtitle_test.Carl Hetherington
Cherry-picked from 9e3f8bfe9e274865590d49ad1e59e82f7894a12a in master.
2021-04-16Merge read_smpte_subtitle_test with smpte_subtitle_test.Carl Hetherington
Cherry-picked from 4e514f7dcc12a72bb4c78fd5067ff872ef54025b in master.
2018-07-07SubtitleString -> shared_ptr<Subtitle>Carl Hetherington
2018-02-12Use a different ID for the XML inside a SMPTE subtitle MXF than theCarl Hetherington
ID for the MXF itself. Apparently not doing so is an error (according to Doremi's release notes for 2.8.18).
2015-06-08Rename some tests.Carl Hetherington
2015-06-05Rename some stuff Content -> Asset.Carl Hetherington
2015-01-03Add support for reading non-MXF-wrapped SMPTE subtitle files.Carl Hetherington