<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libdcp/src/smpte_subtitle_asset.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-03-20T20:20:58Z</updated>
<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>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>Make similar changes to the previous commit for _xml_id.</title>
<updated>2021-05-27T12:25:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-27T12:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=dd672d926e3b88cbe42b0778fda397d9e858b592'/>
<id>urn:sha1:dd672d926e3b88cbe42b0778fda397d9e858b592</id>
<content type='text'>
This is also unavailable if the asset is encrypted.
</content>
</entry>
<entry>
<title>Tidy handling of _raw_xml.</title>
<updated>2021-05-27T12:25:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-27T12:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=a6a1294944d4ce02cbb429ca1aec07ca78d79a88'/>
<id>urn:sha1:a6a1294944d4ce02cbb429ca1aec07ca78d79a88</id>
<content type='text'>
Before this if we tried to get the XML of an encrypted asset we
would just get an empty string.  Now we get a boost::none which
means the verifier can avoid trying to check details of the XML
(and instead raise a warning that you are trying to verify data
that it cannot decrypt).
</content>
</entry>
<entry>
<title>Read the bits we can from the MXF header even when it is encrypted.</title>
<updated>2021-05-27T09:45:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-27T09:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=c1d32ccfc586d0292ca4ec35a03fb403c3c45a07'/>
<id>urn:sha1:c1d32ccfc586d0292ca4ec35a03fb403c3c45a07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix/hide some warnings.</title>
<updated>2021-04-13T23:00:05Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-13T23:00:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=274dd30f2b11fe8ea563a2ac7436c9d463865b0b'/>
<id>urn:sha1:274dd30f2b11fe8ea563a2ac7436c9d463865b0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't set the MXF _id from the XML &lt;Id&gt; tag.</title>
<updated>2021-04-08T00:05:04Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-08T00:05:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=854bc0a513611a402b2d693d9d17da3420fd10b4'/>
<id>urn:sha1:854bc0a513611a402b2d693d9d17da3420fd10b4</id>
<content type='text'>
They should not be the same, so it's unhelpful to make them so.
parse_xml() sets up _xml_id anyway.
</content>
</entry>
<entry>
<title>Expose the MXF ResourceID from SMPTESubtitleAsset.</title>
<updated>2021-04-08T00:04:44Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-08T00:04:44Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=f094d850a590cf68a98d4fa83b168c64c2787083'/>
<id>urn:sha1:f094d850a590cf68a98d4fa83b168c64c2787083</id>
<content type='text'>
</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>
</feed>
