<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/test/dcp_decoder_test.cc, branch arbitrary-hz</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=arbitrary-hz</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=arbitrary-hz'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2025-09-02T20:40:13Z</updated>
<entry>
<title>Untested conversion to num/den DCPTime.</title>
<updated>2025-09-02T20:40:13Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-12-21T23:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=33b0928b20618da5bc295711bfdf3d638863afa5'/>
<id>urn:sha1:33b0928b20618da5bc295711bfdf3d638863afa5</id>
<content type='text'>
Summary of required changes:

Replace ::from_frames with a constructor that takes num/den.
Provide and use member to_debug_string() instead of to_string().
Provide and use member to_serializable_string() and string constructor instead of fmt::to_string on .get() and number constructor.
Provide and use content_time() member instead of ContentTime constructor from DCPTime.
Use frames_round(96000) instead of get() when comparing times to see if they are "close enough".
Provide and use DCPTime(x, FrameRateChange) constructor when converting from ContentTime.
Use .seconds() when calculating proportions or sometimes when dividing by HZ.
Provide and use operator bool().
Pass explicit 96000 denominator in a lot of places.
Add member max() and use it instead of static max()
Change BOOST_CHECK_EQUAL to BOOST_CHECK
Provide operator/ and use it instead of .get() / 2.
</content>
</entry>
<entry>
<title>Change Film::examine_and_add_content to take a vector of content.</title>
<updated>2025-07-15T16:03:57Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-15T01:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=21415bdb69a99c4fc36cf4b5e5160a171bb1cad4'/>
<id>urn:sha1:21415bdb69a99c4fc36cf4b5e5160a171bb1cad4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change ExamineContentJob to take a vector of content.</title>
<updated>2025-07-15T09:10:47Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-15T00:19:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=847daf7ec0f741eb6d50638c2096743ee731634c'/>
<id>urn:sha1:847daf7ec0f741eb6d50638c2096743ee731634c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pass tolerant flag into Player.</title>
<updated>2025-01-20T19:36:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-01-19T23:33:08Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8850569d93a8524625b3b595cb6edf45bdf6de07'/>
<id>urn:sha1:8850569d93a8524625b3b595cb6edf45bdf6de07</id>
<content type='text'>
This is needed because the DCPDecoder ends up needing it when it reads
reel information from CPLs.

Maybe all that stuff should be in our metadata.
</content>
</entry>
<entry>
<title>Pass tolerant flag into Content::examine() and the ExamineContentJob.</title>
<updated>2025-01-20T19:36:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-01-19T23:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=385635f00d39822389adbc99a2d5bdd992f16432'/>
<id>urn:sha1:385635f00d39822389adbc99a2d5bdd992f16432</id>
<content type='text'>
Along the way this helps to fix #2942.
</content>
</entry>
<entry>
<title>Rename new_test_film2 -&gt; new_test_film.</title>
<updated>2024-05-22T08:33:45Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-05-20T14:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c95ba3eb99c5e4d6dca90cee7e5bb9077b6ed02c'/>
<id>urn:sha1:c95ba3eb99c5e4d6dca90cee7e5bb9077b6ed02c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inspect most DCPs made during tests with dcp_inspect (#76).</title>
<updated>2024-01-15T11:44:42Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-01-11T15:24:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=a4a7d9ef34f2f083b0ba9e32e933ea5c64d2352d'/>
<id>urn:sha1:a4a7d9ef34f2f083b0ba9e32e933ea5c64d2352d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: extract encrypt() call from Film::make_kdm().</title>
<updated>2023-02-11T21:26:38Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-01-28T23:07:10Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e18630852de1ac02c23c74cbe7643845b6f4bd17'/>
<id>urn:sha1:e18630852de1ac02c23c74cbe7643845b6f4bd17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: test tidying.</title>
<updated>2022-12-29T00:47:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-29T00:47:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ce73eaf7875a9a3326afcd839ad85eb95879c160'/>
<id>urn:sha1:ce73eaf7875a9a3326afcd839ad85eb95879c160</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a vector rather than a list when returning from content_factory().</title>
<updated>2022-07-11T10:22:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-07-09T18:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b1e22dff981fb86ae04b12bb5a064e61030793a8'/>
<id>urn:sha1:b1e22dff981fb86ae04b12bb5a064e61030793a8</id>
<content type='text'>
</content>
</entry>
</feed>
