<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/video_decoder.cc, branch v2.6.28</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=v2.6.28</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=v2.6.28'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2016-01-27T23:09:20Z</updated>
<entry>
<title>Possibly better version of d217a16d41dd71c921fa2155e068df7cca11f457.</title>
<updated>2016-01-27T23:09:20Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2016-01-27T23:09:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=13aceac46acc966ffddcbc08982e8090415625f3'/>
<id>urn:sha1:13aceac46acc966ffddcbc08982e8090415625f3</id>
<content type='text'>
Don't stop returning stuff from get_video when there are frames
left in _decoded_video.
</content>
</entry>
<entry>
<title>Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic</title>
<updated>2016-01-24T23:53:22Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2016-01-24T23:53:22Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=aebfa24afe42d80693df66318e5d2818ebf5989b'/>
<id>urn:sha1:aebfa24afe42d80693df66318e5d2818ebf5989b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop trying to get frames from a video source when an attempt</title>
<updated>2016-01-24T23:40:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2016-01-24T23:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d217a16d41dd71c921fa2155e068df7cca11f457'/>
<id>urn:sha1:d217a16d41dd71c921fa2155e068df7cca11f457</id>
<content type='text'>
to get an earlier frame has already failed because the decoder
said it has no more data.  Before this the VideoDecoder would
repeatedly seek to try to get a frame which does not exist.

This happens when the header of a file is wrong, it would seem;
in the file that triggered the bug the header (as read by DoM or ffprobe)
has a length of 137275 frames but the last frame in the file
(according to DoM or ffprobe -show_frames) is 136207 (44.5s earlier).
</content>
</entry>
<entry>
<title>Missing but inconsequential break.</title>
<updated>2016-01-24T22:57:36Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2016-01-24T22:57:36Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=468887f4c0994a58032f27018b622021131d1e8c'/>
<id>urn:sha1:468887f4c0994a58032f27018b622021131d1e8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce variable scope slightly.</title>
<updated>2016-01-24T22:11:41Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2016-01-24T22:11:41Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d3d503bc046c1c317951d239e7cdb41e8f695b66'/>
<id>urn:sha1:d3d503bc046c1c317951d239e7cdb41e8f695b66</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reinstate subtitle speed-up patch 526fd6de4c80a7ac9614a1cb0209efff7b171cd5 but only for preview.</title>
<updated>2015-10-26T09:37:29Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-10-26T09:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=2e62b2c0de47fc8e5bcb5466b2876f9b23d2ae84'/>
<id>urn:sha1:2e62b2c0de47fc8e5bcb5466b2876f9b23d2ae84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Avoid decoding other packets when looking for subs."</title>
<updated>2015-10-23T15:12:14Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-10-23T15:12:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=526fd6de4c80a7ac9614a1cb0209efff7b171cd5'/>
<id>urn:sha1:526fd6de4c80a7ac9614a1cb0209efff7b171cd5</id>
<content type='text'>
This reverts commit 9e025d3f85f9d6d855b3d5e6c90bca0eac3a3d49.

It causes corruption in prophet_clip.xml for reasons that
are not yet known.
</content>
</entry>
<entry>
<title>Remove the dreaded _decoded_video size assertion.</title>
<updated>2015-10-16T14:08:48Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-10-16T14:08:48Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f09e6545efa4c5ca816e89e28a287bc6ab1ee50b'/>
<id>urn:sha1:f09e6545efa4c5ca816e89e28a287bc6ab1ee50b</id>
<content type='text'>
I am reasonably convinced that the accumulation of _decoded_video
is an optimisation rather than being required for correctness,
so it's no problem to throw frames away as the code will just
get them back again if and when it needs them.
</content>
</entry>
<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>Use AV_ prefixes on some FFmpeg bits.</title>
<updated>2015-10-15T08:14:43Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2015-10-15T08:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b67a3505b58ffd204ee1a2560be3026688be8f10'/>
<id>urn:sha1:b67a3505b58ffd204ee1a2560be3026688be8f10</id>
<content type='text'>
</content>
</entry>
</feed>
