<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/decoder.h, branch v2.14.40</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=v2.14.40</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=v2.14.40'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2020-01-09T23:52:20Z</updated>
<entry>
<title>Give DCPDecoder its own ::position which just returns its internal</title>
<updated>2020-01-09T23:52:20Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-01-09T23:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=4285355ff2bec853924647f0523d121860fe64e3'/>
<id>urn:sha1:4285355ff2bec853924647f0523d121860fe64e3</id>
<content type='text'>
_next time.

This is important because Decoder::position does the wrong thing
with DCPs in the following case.

1.  DCPDecoder emits a subtitle event (start/stop) at time t.
2.  There follows a long time T with no subtitle events.  During
    this time the DCPDecoder's position is reported as t (since
    TextDecoder notes its position as the time of the last thing
    it emitted --- which is all it reasonably can do, I think).
3.  During this T the DCPDecoder may be incorrectly pass()ed because
    its position is reported as earlier than it really is; this results
    in video/audio being emitted by the DCPDecoder but other contemporary
    sources may not be pass()ed.

The upshot of this can be that no audio is emitted, as a contemporary audio
source is not pass()ed and hence the merger is waiting for audio that will
take a long time to come.  When the butler is running this can result in
audio underruns as the video buffers overflow with no sign of any audio.

It is also simpler this way; DCPDecoder was already maintaining the required
information.
</content>
</entry>
<entry>
<title>Put Film pointer into Decoder.</title>
<updated>2018-11-21T02:45:30Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-11-21T02:45:30Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=84012cdd64f451891febd36154b7226ea21a899b'/>
<id>urn:sha1:84012cdd64f451891febd36154b7226ea21a899b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Take Film pointer out of Content.</title>
<updated>2018-11-21T01:59:04Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-11-21T01:59:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=254b3044d72de6b033d7c584f5abd2b9aa70aad5'/>
<id>urn:sha1:254b3044d72de6b033d7c584f5abd2b9aa70aad5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidy up after mass rename.</title>
<updated>2018-07-23T14:10:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-07-23T14:10:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=a5c629cb9b638b67a0e4c2d26fe9ab2e124bf0eb'/>
<id>urn:sha1:a5c629cb9b638b67a0e4c2d26fe9ab2e124bf0eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More automated renaming.</title>
<updated>2018-07-23T10:20:12Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-07-23T10:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc'/>
<id>urn:sha1:df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc</id>
<content type='text'>
ActiveCaptions -&gt; ActiveText
BitmapCaption -&gt; BitmapText
ContentCaption -&gt; ContentText
ContentTextCaption -&gt; ContentStringText
TextCaptionFileContent -&gt; StringTextFileContent
TextCaptionFileDecoder -&gt; StringTextFileDecoder
TextCaptionFile -&gt; StringTextFile
TextCaption -&gt; StringText
PlayerCaption -&gt; PlayerText
CaptionContent -&gt; TextContent
CaptionDecoder -&gt; TextDecoder
CaptionPanel -&gt; TextPanel
CaptionView -&gt; TextView
CaptionAppearanceDialog -&gt; SubtitleAppearanceDialog
CaptionType -&gt; TextType
</content>
</entry>
<entry>
<title>Basics of multiple captions per content so that DCPContent can</title>
<updated>2018-07-21T14:16:18Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-07-21T14:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=cbd4450197a083bf58bda510e626f73ba583cb66'/>
<id>urn:sha1:cbd4450197a083bf58bda510e626f73ba583cb66</id>
<content type='text'>
hold subs and closed captions.
</content>
</entry>
<entry>
<title>Clean up after previous commit.</title>
<updated>2018-07-19T22:45:23Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-07-19T21:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=27b83475435dda4e84a90cf59a52f150905c4ab1'/>
<id>urn:sha1:27b83475435dda4e84a90cf59a52f150905c4ab1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename Subtitle -&gt; Text</title>
<updated>2018-07-19T22:36:56Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-06-11T22:50:59Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d7ac100c0eb1b5efdcfbec59be870fd869252840'/>
<id>urn:sha1:d7ac100c0eb1b5efdcfbec59be870fd869252840</id>
<content type='text'>
sed -i "s/SubtitleContent/TextContent/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc
sed -i "s/SubtitleDecoder/TextDecoder/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc
sed -i "s/subtitle_content/text_content/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript src/wx/wscript
sed -i "s/subtitle_decoder/text_decoder/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript
mv src/lib/subtitle_decoder.cc src/lib/text_decoder.cc
mv src/lib/subtitle_decoder.h src/lib/text_decoder.h
mv src/lib/subtitle_content.cc src/lib/text_content.cc
mv src/lib/subtitle_content.h src/lib/text_content.h
mv src/lib/dcp_subtitle_decoder.cc src/lib/dcp_text_decoder.cc
mv src/lib/dcp_subtitle_decoder.h src/lib/dcp_text_decoder.h
mv src/lib/dcp_subtitle_content.cc src/lib/dcp_text_content.cc
mv src/lib/dcp_subtitle_content.h src/lib/dcp_text_content.h
mv src/lib/text_subtitle_content.cc src/lib/text_text_content.cc
mv src/lib/text_subtitle_content.h src/lib/text_text_content.h
mv src/lib/text_subtitle_decoder.cc src/lib/text_text_decoder.cc
mv src/lib/text_subtitle_decoder.h src/lib/text_text_decoder.h
mv src/wx/timeline_subtitle_content_view.cc src/wx/timeline_text_content_view.cc
mv src/wx/timeline_subtitle_content_view.h src/wx/timeline_text_content_view.h
</content>
</entry>
<entry>
<title>No need for position() to be virtual.</title>
<updated>2018-01-02T20:56:04Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-01-02T20:56:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e7adac0f25e0d2a38be56e4477ed78b8b34b8b34'/>
<id>urn:sha1:e7adac0f25e0d2a38be56e4477ed78b8b34b8b34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix merging of audio in various circumstances.</title>
<updated>2017-04-19T22:04:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2017-02-26T01:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=58dce923b9d438a27ce1cd7e3125370f74d46e3a'/>
<id>urn:sha1:58dce923b9d438a27ce1cd7e3125370f74d46e3a</id>
<content type='text'>
</content>
</entry>
</feed>
