summaryrefslogtreecommitdiff
path: root/test/write_subtitle_test.cc
AgeCommit message (Collapse)Author
2020-09-27<ContentVersion> is optional in Interop so we can't assume it's there.Carl Hetherington
2020-09-21Use a vector<ContentVersion> instead of just one, to support theCarl Hetherington
new metadata.
2020-09-21Add ContentVersion class.Carl Hetherington
2020-09-20Remove XMLMetadata use from tests.Carl Hetherington
2020-09-20Remove XMLMetadata from DCP::write_xml and DCP::write_assetmap.Carl Hetherington
2020-09-20Stop using XMLMetadata in CPL. It's always felt a bit clumsy, andCarl Hetherington
with the CPL metadata extension having a method like set_metadata() in CPL will be confusing.
2020-09-09Use the <Id> read in when the Reel was created from XML (if appropriate)Carl Hetherington
when writing it out again, rather than creating a new one each time. Also there is the associated test churn here from removing a call to make_uuid().
2020-07-12Fix up some tests.Carl Hetherington
2020-07-11Hopefully make all tests stable enough to be run with --random,Carl Hetherington
stopping test reference churn.
2019-03-16Fix some GPL boilerplate.Carl Hetherington
2019-03-12More insulation against libdcp version updates.Carl Hetherington
2019-03-12Stop test output depending on libdcp version.Carl Hetherington
2019-01-14Tidy repeated call of make_uuid() and don't put urn:uuid: in front of ↵Carl Hetherington
default content version label text as it's a bit confusing.
2018-09-02Hopefully-correct PKL and AssetMap when using Interop PNG subtitles.Carl Hetherington
2018-07-09Switch to UUIDs for Interop image subtitle identification (rather than ↵Carl Hetherington
indices). Basic and untested SMPTE image subtitle support.
2018-07-08Basic interop bitmap writing.Carl Hetherington
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).
2018-02-07db8af2f changed rebase() to round down when rebasing times, butCarl Hetherington
did not say why. This rounding down produces some unexpected results, e.g. taking 41 at a TCR of 1000 to a TCR of 24 gives 0, which upsets those who use DCP-o-matic and put in a SRT subtitle ending at ,041 --- the sub time is rounded down to 0 for a SMPTE DCP. This commit restores round-to-nearest behaviour.
2018-01-13Fix missing HAlign/VAlign attributes in subtitles when their value is negative.Carl Hetherington
2018-01-13Fix test references to have no whitespace.Carl Hetherington
2017-02-24Format XML sub output nicely with indents and such.Carl Hetherington
2016-11-09Fix tests for changes to subtitle whitespace.Carl Hetherington
2016-10-07Rework subtitle writing to fix incorrect output withCarl Hetherington
in-line font changes (#952).
2016-06-24Support underlining of subtitles.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-04-12Add direction support for SMPTE subtitles; fix pragma warnings with ↵Carl Hetherington
non-openmp builds.
2016-04-05Add a couple of small bold tests.Carl Hetherington
2016-04-05Basic untested support for bold in subtitles.Carl Hetherington
2015-09-28Round down when rebasing times.Carl Hetherington
2015-07-20Round up in Time::as_editable_units.Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-08Remove slightly strange InteropSubtitleAsset constructor; add default one ↵Carl Hetherington
for SMPTESubtitleAsset.
2015-06-05Initial work on SMPTE subtitles.Carl Hetherington
2015-06-05Rename some stuff Content -> Asset.Carl Hetherington
2015-06-03Basic HAlign / HPosition support.Carl Hetherington
2015-06-03Add AspectAdjust to subtitles.Carl Hetherington
2015-05-06Pad times with zeros; add Time::rebase().Carl Hetherington
2015-04-30Slightly better write subtitle tests.Carl Hetherington
2015-04-30Add a very simple test for writing subtitles.Carl Hetherington