<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libdcp/test/smpte_subtitle_test.cc, branch python310</title>
<subtitle>DCP handling library</subtitle>
<id>https://git.carlh.net/cgit/libdcp/atom?h=python310</id>
<link rel='self' href='https://git.carlh.net/cgit/libdcp/atom?h=python310'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/'/>
<updated>2022-04-22T10:22:44Z</updated>
<entry>
<title>Fix some macOS signed/unsigned warnings.</title>
<updated>2022-04-22T10:22:44Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-22T09:08:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=ed1f39dc5664d642f0f5af1a606e2e7aebd5e5f4'/>
<id>urn:sha1:ed1f39dc5664d642f0f5af1a606e2e7aebd5e5f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Nearly pretty-print subtitle XML (though not in &lt;Text&gt; nodes).</title>
<updated>2022-03-20T20:20:58Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-03-15T14:32:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=066e30f30f851396bd6f10d50a448507e1c0b392'/>
<id>urn:sha1:066e30f30f851396bd6f10d50a448507e1c0b392</id>
<content type='text'>
This is an attempt to fix DoM bug #2205.
</content>
</entry>
<entry>
<title>Order subtitles in the XML according to their vertical position (DoM bug #2106).</title>
<updated>2021-10-24T18:52:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-18T06:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=d5ab7ecf942405bcaa7fd8d367e09f95d6c0c978'/>
<id>urn:sha1:d5ab7ecf942405bcaa7fd8d367e09f95d6c0c978</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Basic implementation of &lt;Space&gt; tag in subtitles.</title>
<updated>2021-10-13T20:18:59Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-13T20:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=8bc480da2db924349465dbe557f87bd6f05b7fdd'/>
<id>urn:sha1:8bc480da2db924349465dbe557f87bd6f05b7fdd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the former dcst namespace default for SMPTE subtitles.</title>
<updated>2021-10-03T20:18:56Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-03T20:18:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=fac4b92813714d5b6bdaaa4425bf0bf81dbd1a45'/>
<id>urn:sha1:fac4b92813714d5b6bdaaa4425bf0bf81dbd1a45</id>
<content type='text'>
In DoM bug #2061 it is reported that Easy DCP gives the error

"XML Document has default root namespace prefix: dcst.
 Default namespace should not use prefix for root or root namespace child nodes."

with SMPTE subtitle files written by DCP-o-matic, and that the correct
fix is to make the former dcst: namespace the default and then remove
the dcst: qualifiers from everything.

I'm not sure I agree with the error; AFAICS the subtitle files written
by previous versions did not have a default root namespace prefix,
since it was specified by xmlns:dcst and not just xmlns alone, so I
think they were valid.

However, using a default NS also seems fine, slightly simplifies the
code and produces more compact subtitle files, so we change that here.
It should also stop Easy DCP complaining, which is always marginally
preferable to sticking to our guns and getting the blame for it.
</content>
</entry>
<entry>
<title>Improve handling of image subtitle IDs in XML (DoM bug #1965)</title>
<updated>2021-04-14T14:20:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-14T07:56:21Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=098007a1ee6a46b6ff11398f94faff5c85951da4'/>
<id>urn:sha1:098007a1ee6a46b6ff11398f94faff5c85951da4</id>
<content type='text'>
When reading/writing the XML for image subtitles, we assumed that
the content of the &lt;Image&gt; 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.
</content>
</entry>
<entry>
<title>Move some tests from write_subtitle_test to smpte_subtitle_test.</title>
<updated>2021-04-14T09:14:13Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-14T09:14:13Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=9e3f8bfe9e274865590d49ad1e59e82f7894a12a'/>
<id>urn:sha1:9e3f8bfe9e274865590d49ad1e59e82f7894a12a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge read_smpte_subtitle_test with smpte_subtitle_test.</title>
<updated>2021-04-14T09:11:47Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-14T09:11:47Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=4e514f7dcc12a72bb4c78fd5067ff872ef54025b'/>
<id>urn:sha1:4e514f7dcc12a72bb4c78fd5067ff872ef54025b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use enum class for the things in types.h</title>
<updated>2021-01-21T00:57:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-01-21T00:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=76e3325a16cdf6d7220a61e2b5cfdb9c804cc32c'/>
<id>urn:sha1:76e3325a16cdf6d7220a61e2b5cfdb9c804cc32c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std::shared_ptr</title>
<updated>2021-01-07T23:35:29Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-12-20T13:14:07Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=d39880eef211a296fa8ef4712cdef5945d08527c'/>
<id>urn:sha1:d39880eef211a296fa8ef4712cdef5945d08527c</id>
<content type='text'>
</content>
</entry>
</feed>
