<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/subrip_decoder.cc, branch v2.4.12</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=v2.4.12</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=v2.4.12'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2015-10-16T13:38:44Z</updated>
<entry>
<title>Avoid decoding other packets when looking for subs.</title>
<updated>2015-10-16T13:38:44Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-10-16T13:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9e025d3f85f9d6d855b3d5e6c90bca0eac3a3d49'/>
<id>urn:sha1:9e025d3f85f9d6d855b3d5e6c90bca0eac3a3d49</id>
<content type='text'>
The "accumulation" of, for example, video data when we are looking
for audio data is an *optimisation* to reduce the number of seeks.
It should not be necessary for correctness (the output should be right
even if we never kept anything except what we were looking for).

Doing this accumulation is not always an optimisation; sometimes not
doing it is better.  Avoiding it when going back for subtitles is one
of these cases.
</content>
</entry>
<entry>
<title>Fix invalid Interop subtitle times in some cases.</title>
<updated>2015-10-15T08:13:33Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-10-15T08:13:33Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=6708d52b5c2ff9ccb6ee99f3b793d791bb95f26b'/>
<id>urn:sha1:6708d52b5c2ff9ccb6ee99f3b793d791bb95f26b</id>
<content type='text'>
Use a much higher "timecode rate" (1000 rather than 24) when
representing the time of subtitles internally so that accuracy
is preserved and we don't end up rounding things up to give
out of range results.
</content>
</entry>
<entry>
<title>Lots of #include &lt;iostream&gt;s for Arch.</title>
<updated>2015-09-14T21:49:36Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-09-14T21:49:36Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=1858190cff2f960f3d1f0a5cc02c69da86088f5b'/>
<id>urn:sha1:1858190cff2f960f3d1f0a5cc02c69da86088f5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pass colour on when decoding.</title>
<updated>2015-07-02T12:39:19Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-07-02T12:39:19Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=88d2e9b659a7517c91a630c1cd67cc919c97d59a'/>
<id>urn:sha1:88d2e9b659a7517c91a630c1cd67cc919c97d59a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix missing subtitles in some cases.</title>
<updated>2015-06-26T21:02:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-06-26T21:02:00Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c8ff422a42eac30517a7acde57ab84e55449f4e4'/>
<id>urn:sha1:c8ff422a42eac30517a7acde57ab84e55449f4e4</id>
<content type='text'>
We were passing subtitles back from decoders to SubtitleDecoder
using dcp::SubtitleStrings and relying on their storage of time
to know when the subtitles were.  These times are quantised (by
the use of dcp::SubtitleString) and then compared with unquantised
times (kept as ContentTime) in the main checking loop in
SubtitleDecoder::get().

Fix this by storing periods as ContentTimePeriod as well as
in the dcp::SubtitleStrings.
</content>
</entry>
<entry>
<title>No-op: remove all trailing whitespace.</title>
<updated>2015-06-21T00:15:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-06-21T00:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e60bb3e51bd1508b149e6b8f6608f09b5196ae26'/>
<id>urn:sha1:e60bb3e51bd1508b149e6b8f6608f09b5196ae26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove PassReason stuff.</title>
<updated>2015-06-12T12:47:35Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-06-12T12:47:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=bdbfd6b08856a445446bfd845f1c43109d184250'/>
<id>urn:sha1:bdbfd6b08856a445446bfd845f1c43109d184250</id>
<content type='text'>
This feels wrong: it means that it is possible for FFmpegDecoder
to discard packets.  I can't see how this is ok in all cases:
maybe we were lucky that it worked at all.
</content>
</entry>
<entry>
<title>Fix horizontal positioning with .srt / burn-in (#488).</title>
<updated>2015-06-03T23:17:12Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-06-03T23:17:12Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=4f1751a9e43e515be773ee3871150f7beca325f5'/>
<id>urn:sha1:4f1751a9e43e515be773ee3871150f7beca325f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Various fixes to allow independent x and y scaling of text subs (#489).</title>
<updated>2015-06-03T21:54:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-06-03T21:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=7affca9f7b210c3137eb084cd393b534051a2647'/>
<id>urn:sha1:7affca9f7b210c3137eb084cd393b534051a2647</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't bother decoding video frames when we're seeking around trying to find subtitles.</title>
<updated>2015-05-13T09:15:26Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-05-13T09:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9922c1f2eaea674ba2ff6cce5f5853655fd8ad7a'/>
<id>urn:sha1:9922c1f2eaea674ba2ff6cce5f5853655fd8ad7a</id>
<content type='text'>
</content>
</entry>
</feed>
