<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libdcp/src/subtitle_asset_internal.cc, branch fixlibdir</title>
<subtitle>DCP handling library</subtitle>
<id>https://git.carlh.net/cgit/libdcp/atom?h=fixlibdir</id>
<link rel='self' href='https://git.carlh.net/cgit/libdcp/atom?h=fixlibdir'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/'/>
<updated>2024-03-20T17:21:14Z</updated>
<entry>
<title>Replace xmlpp::Node::add_child with cxml::add_child.</title>
<updated>2024-03-20T17:21:14Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-02-08T23:29:00Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=8f1f5db2b193fe1db7eeabda2a7b3eee03dde886'/>
<id>urn:sha1:8f1f5db2b193fe1db7eeabda2a7b3eee03dde886</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simple pass-through of &lt;Ruby&gt; tags in subtitles.</title>
<updated>2023-11-15T19:14:55Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-15T19:14:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=e3fa86ef35f212b14b593dd36dbff66e845d37e4'/>
<id>urn:sha1:e3fa86ef35f212b14b593dd36dbff66e845d37e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Z position to subtitles; existing tests pass.</title>
<updated>2022-11-03T08:31:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-10-20T21:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=5048e3e1d91858c2a4132e616438e1943f820124'/>
<id>urn:sha1:5048e3e1d91858c2a4132e616438e1943f820124</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>Fix various bugs in subtitle/ccap verification.</title>
<updated>2021-03-15T00:36:51Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-03-15T00:36:51Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=2c1faeb15715794525f48110c2b8a9df96b387c1'/>
<id>urn:sha1:2c1faeb15715794525f48110c2b8a9df96b387c1</id>
<content type='text'>
Check that subtitles don't overlap reel boundaries, and fix a few
tests that trip this check.

Fix confusion when calculating subtitle timings during verification
where the picture asset frame rate was being used rather than the
subtitle asset's edit rate.

Do the subtitle timing verification for Interop as well as SMPTE
subtitles.

Take &lt;StartTime&gt; tags into account when checking subtitles, even
though Bv2.1 says they should be set to 0.

Rename Time::as_editable_units to Time::as_editable_units_ceil
and add a _floor variant, then use that to round down when checking
reel boundary overlaps.
</content>
</entry>
<entry>
<title>Tidying.</title>
<updated>2021-01-24T03:15:26Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-01-24T03:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=ceaf7bc52712cb60708ed5eb5c62c5e463dd8e89'/>
<id>urn:sha1:ceaf7bc52712cb60708ed5eb5c62c5e463dd8e89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Assorted c++11 cleanups.</title>
<updated>2021-01-22T00:39:22Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-01-22T00:39:22Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=5fbcd3a8dc711c6c42efabbac72ab0408f504ea2'/>
<id>urn:sha1:5fbcd3a8dc711c6c42efabbac72ab0408f504ea2</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>
</feed>
