summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-08 23:22:05 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-08 23:22:05 +0000
commit7ca029dea19ab0aa1b7e96d363fe6de61350d2e7 (patch)
treed520d2f6597fa4ccbe2a78e3aea4d1d2614d9373 /test/data
parentbbb3db16cc7e6f2262a89da4bec9fc356d6c3c12 (diff)
Change libdcp::Time to allow sub-second units to be anything, so that
we can support SMPTE subtitles which use TimeCodeRate as the base rather than the arbitrary "ticks" (4ms) of Interop.
Diffstat (limited to 'test/data')
-rw-r--r--test/data/subs3.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/data/subs3.xml b/test/data/subs3.xml
new file mode 100644
index 00000000..4e331f9a
--- /dev/null
+++ b/test/data/subs3.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<SubtitleReel xmlns="http://www.smpte-ra.org/schemas/428-7/2010/DCST">
+<Id>urn:uuid:d351291b-a133-88f7-caca-e7ed2ee6cc69</Id>
+<ContentTitleText>Test</ContentTitleText>
+<AnnotationText>Test</AnnotationText>
+<IssueDate>2014-11-21T18:10:50+01:00</IssueDate>
+<ReelNumber>1</ReelNumber>
+<Language>en</Language>
+<EditRate>25 1</EditRate>
+<TimeCodeRate>25</TimeCodeRate>
+<StartTime>00:00:00:00</StartTime>
+<SubtitleList>
+<Font ID="Arial" Color="FFFFFFFF" Weight="normal" Size="42" Effect="border" EffectColor="FF000000" AspectAdjust="1.00">
+<Subtitle SpotNumber="1" TimeIn="00:00:4:21" TimeOut="00:00:6:5" FadeUpTime="00:00:00:00" FadeDownTime="00:00:00:00">
+<Text Hposition="0.0" Halign="center" Valign="bottom" Vposition="8.0" Direction="ltr">Hello world</Text>
+</Subtitle>
+</Font>
+</SubtitleList>
+</SubtitleReel>