<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/ffmpeg_decoder.cc, branch better-gl</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=better-gl</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=better-gl'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2021-09-27T11:41:46Z</updated>
<entry>
<title>Replace aligned bool with enum Alignment.</title>
<updated>2021-09-27T11:41:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-15T21:36:21Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3799e91d126d243d41c44dcb0ca1bfa66b53a57e'/>
<id>urn:sha1:3799e91d126d243d41c44dcb0ca1bfa66b53a57e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Various alignment adjustments.</title>
<updated>2021-09-27T11:41:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-14T23:00:33Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9bfa07293928c371d59db2091ba2b7e715ce5994'/>
<id>urn:sha1:9bfa07293928c371d59db2091ba2b7e715ce5994</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix missing subtitles embedded in files decoded by FFmpeg (#2060).</title>
<updated>2021-09-12T23:22:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-12T20:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=60450bd93af0b331d7b98c88aa199366305f0721'/>
<id>urn:sha1:60450bd93af0b331d7b98c88aa199366305f0721</id>
<content type='text'>
Since the FFmpeg 4.4 update it seems that AVSubtitle::pts is no longer
set (it's AV_NOPTS_VALUE, i think).

Instead we apparently need to get the PTS from the packet, which in
turn requires the stream's timebase.
</content>
</entry>
<entry>
<title>Add missing avsubtitle_free().</title>
<updated>2021-09-12T23:22:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-12T20:43:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=df811a0dd2772417496991b72fde0ef3304241d9'/>
<id>urn:sha1:df811a0dd2772417496991b72fde0ef3304241d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix errors when seeking FFmpeg for some formats.</title>
<updated>2021-06-04T20:31:07Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-06-03T20:55:44Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9f4cb3b340376d93be39dc97c2e0c631e9cf73c4'/>
<id>urn:sha1:9f4cb3b340376d93be39dc97c2e0c631e9cf73c4</id>
<content type='text'>
The comments discuss this in a bit more depth, but basically we see
errors from avcodec_send_packet after seek.  ffplay etc. seem basically
to ignore all errors from avcodec_send_packet, and I can't find a
"proper" fix, so here's a half-way house hack: ignore some errors
after seek.  Nasty.
</content>
</entry>
<entry>
<title>Ignore errors from avcodec_receive_frame when flushing video (#2035).</title>
<updated>2021-06-03T18:40:16Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-06-03T18:40:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ab3be5fa1893bf1756627e1646b065c41e69336a'/>
<id>urn:sha1:ab3be5fa1893bf1756627e1646b065c41e69336a</id>
<content type='text'>
The test fails if we don't do this; it doesn't really seem 100%
convincing but we are already doing this for audio.
</content>
</entry>
<entry>
<title>Switch decoding to ffmpeg send/receive API.</title>
<updated>2021-04-30T23:31:57Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-28T22:27:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e29ce33a36c2e20444d57196defc86d5072bce81'/>
<id>urn:sha1:e29ce33a36c2e20444d57196defc86d5072bce81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some FFmpeg-related warnings by using AVStream::codecpar.</title>
<updated>2021-04-30T23:31:57Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-28T06:47:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c93d0271dad86dccdbe518dbbe6e2175adce6804'/>
<id>urn:sha1:c93d0271dad86dccdbe518dbbe6e2175adce6804</id>
<content type='text'>
</content>
</entry>
<entry>
<title>C++11 tidying.</title>
<updated>2021-04-29T18:53:49Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-29T07:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=39fb8198febde1937019db1c300ec363aab5aa56'/>
<id>urn:sha1:39fb8198febde1937019db1c300ec363aab5aa56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add an assert for a function that can fail.</title>
<updated>2021-03-31T20:51:05Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-03-30T10:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c7573918f64657f720c7e9437df0a33e505c88bc'/>
<id>urn:sha1:c7573918f64657f720c7e9437df0a33e505c88bc</id>
<content type='text'>
</content>
</entry>
</feed>
