<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/hints.cc, branch v2.15.115</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=v2.15.115</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=v2.15.115'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2020-12-22T01:37:53Z</updated>
<entry>
<title>Pass fonts from content around as FontData.</title>
<updated>2020-12-22T01:37:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-12-20T22:41:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ddcd4f3ba0af3e9d49dbb68127317cd0d871a248'/>
<id>urn:sha1:ddcd4f3ba0af3e9d49dbb68127317cd0d871a248</id>
<content type='text'>
i.e. as a block of memory rather than a file.  Also, get the
fonts from the decoder rather than the content.

Together, these changes allow us to use fonts from SMPTE DCPs
added as content.  Before, fonts would be messed up in those
cases (#1885).
</content>
</entry>
<entry>
<title>Catch exceptions better during hints thread.</title>
<updated>2020-12-22T01:37:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-12-20T22:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=191b9aece985643210dc6b2352b390cdfc386f4d'/>
<id>urn:sha1:191b9aece985643210dc6b2352b390cdfc386f4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Write subtitles and closed captions to a test DCP in the hints thread,</title>
<updated>2020-12-08T13:09:02Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-12-07T00:18:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=cadca6e4f8c1d844f1b5fb9375023e627c674fa9'/>
<id>urn:sha1:cadca6e4f8c1d844f1b5fb9375023e627c674fa9</id>
<content type='text'>
then check the result for Bv2.1 violations (part of #1800).
</content>
</entry>
<entry>
<title>Add WeakFilm and WeakConstFilm and use them a bit.</title>
<updated>2020-12-07T00:20:25Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-12-06T20:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=dfb68bf9190ec0be31f01b61c17aebc8b6e30ad8'/>
<id>urn:sha1:dfb68bf9190ec0be31f01b61c17aebc8b6e30ad8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some hints for violations of SMPTE Bv2.1 with subtitles and closed</title>
<updated>2020-12-06T18:55:07Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-12-06T18:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=504e234f92de578a8d1214d6a73c790a896f0a90'/>
<id>urn:sha1:504e234f92de578a8d1214d6a73c790a896f0a90</id>
<content type='text'>
captions.
</content>
</entry>
<entry>
<title>Add hint when making a FTR without FFEC/FFMC markers (#1804).</title>
<updated>2020-11-21T22:02:49Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-21T21:38:45Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ce058471aa9995adac968cecc205f5a4319f449e'/>
<id>urn:sha1:ce058471aa9995adac968cecc205f5a4319f449e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidy up Hints a bit.</title>
<updated>2020-11-21T22:02:49Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-20T23:04:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b78068f34be9adfa7a9018643d46e3917f132070'/>
<id>urn:sha1:b78068f34be9adfa7a9018643d46e3917f132070</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Build fixes for Boost &gt;= 1.73</title>
<updated>2020-09-01T14:34:26Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-08-27T20:37:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c04fec82d25127fafa73c3daff87bece9aa8c8e8'/>
<id>urn:sha1:c04fec82d25127fafa73c3daff87bece9aa8c8e8</id>
<content type='text'>
Forward-ported-from: d1e9749ca290673639a49d693a8fe5c6557cc2de
</content>
</entry>
<entry>
<title>Fix bugs in thread termination causing occasional pthread</title>
<updated>2020-07-29T18:22:54Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-07-29T18:22:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e3c7656f9dc0acbaf518c051b847ee2e4eb7ba23'/>
<id>urn:sha1:e3c7656f9dc0acbaf518c051b847ee2e4eb7ba23</id>
<content type='text'>
assertion failures.

Before this, it was possible for J2KEncoder::terminate_threads()
to finish without terminating all threads if the thread _running_
terminate_threads() was itself interrupt()ed.

This is because the thread_group::join_all() in terminate_threads()
is an interruption point, so it was possible it not to complete
but instead to throw interrupted_exception.  Then the owning
J2KEncoder would be torn down but the threads would still be running,
causing use-after-frees.

This commit adds some boost::this_thread::disable_interruption
objects to ensure that the owning thread is not interrupted while
it is being destroyed.

Also tidy up code that does this stuff, assuming that it's safe
to not call thread::joinable but instead do

thread.interrupt();
try {
  thread.join();
} catch (...) {}
</content>
</entry>
<entry>
<title>Fix erroneous hints about content being narrower than scope when it is near 2.35:1 (#1751).</title>
<updated>2020-06-05T23:56:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-06-05T23:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ce9ca273648d879a4aee700593b757147336d884'/>
<id>urn:sha1:ce9ca273648d879a4aee700593b757147336d884</id>
<content type='text'>
</content>
</entry>
</feed>
