summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_decoder.h
AgeCommit message (Collapse)Author
2017-12-13Setup SubtitleDecoder::_position correctly (in some cases).Carl Hetherington
2017-05-15Fix missing subtitle in some cases.Carl Hetherington
With this timeline: -------> t SUB1 SUB2 X We might seek to X, then pass(). Before this change, SUB1 would have been emitted by the call to the subtitle decoder, then we'd have emitted some black for X. This would lose SUB2. Now we keep pass()ing and don't emit X until it's the earliest thing (in the same way that the main decision of what to pass() works).
2017-04-27Initial work on removing storage of subtitle times.Carl Hetherington
2017-04-19Various Doxygen fixes.Carl Hetherington
2017-04-19Various fixes to push audio vaguely in the right direction.Carl Hetherington
2017-04-19Post-merge tidy-up.Carl Hetherington
2017-04-19Various work on the audio code.Carl Hetherington
2017-04-19Basic grunt-work, untested and unfinished, but it compiles.Carl Hetherington
2016-12-08Further fixes and tidying to 'better-seek'.Carl Hetherington
This fixes the failure to keep track of the `position' of each stream of a multi-stream file. It also tidies things up a bit.
2016-11-20Some more decode logging.Carl Hetherington
2016-11-19Move position variables into the video/audio/subtitle decoder classes.Carl Hetherington
2016-10-08Fix overlapping burnt-in subtitles in some cases (#959).Carl Hetherington
Firstly, when finding subtitles that exist during a period, only return those which overlap more than half the period. This means that, in a fight over a frame, the longest-running subtitle in that frame will win. Secondly, make SubtitleDecoder::get pick the wanted subtitles from the cache simply by comparing their periods to those that were requested. I think this is nicer than what was there before (basically reevaulating 'what subtitle(s) for this period') and also makes the first part of this commit effective.
2016-07-01Make the preview respond to changes in subtitle line spacing.Carl Hetherington
2016-06-09Fix some code duplication and crashes when decoding FFmpeg-embedded ASS ↵Carl Hetherington
subtitles along the way.
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-18Rename some methods.Carl Hetherington
2016-05-18Basics of splitting up Decoder tree like Content.Carl Hetherington
2015-11-08Add appearance dialog for SubRip subtitles.Carl Hetherington
2015-10-26Reinstate subtitle speed-up patch 526fd6de4c80a7ac9614a1cb0209efff7b171cd5 ↵Carl Hetherington
but only for preview.
2015-08-26Rest of src/lib/*.h tidying.Carl Hetherington
2015-06-26Fix missing subtitles in some cases.Carl Hetherington
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.
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-05-12Assorted image subtitle fixes.Carl Hetherington
2014-12-23Fix warning and add comment.Carl Hetherington
2014-12-05Some include tidying.Carl Hetherington
2014-07-04Add 'starting' option to subtitles_during().Carl Hetherington
2014-07-02Hopefully improve subtitle decoder seeking etc.Carl Hetherington
2014-07-02Rearrange Player subtitle handling a bit.Carl Hetherington
2014-06-12Fix subrip subtitles a little.Carl Hetherington
2014-05-22Basics of noting subtitle times in FFmpegSubtitleStreams.Carl Hetherington
2014-05-22Add ContentTimePeriod class.Carl Hetherington
2014-05-02Add missing seek stuff to SubtitleDecoder.Carl Hetherington
2014-03-25It builds.Carl Hetherington
2014-03-07Add primitive subtitle view. Remove unused Film member from Decoder hierarchy.Carl Hetherington
2014-02-24Tweaks for libdcp.Carl Hetherington
2014-02-11Partial hacks to use of libdcp 1.0.Carl Hetherington
2014-01-15Merge 1.0-seek and subtitle-content.Carl Hetherington
2014-01-15Basics of subtitle rendering.Carl Hetherington
2013-12-24Merge 1.0 and some subtitling fixes.Carl Hetherington
2013-12-18Considerable rework of decoder timing; tests pass, at least.Carl Hetherington
2013-12-13Time -> DCPTime.Carl Hetherington
2013-07-20Remove some unused stuff.Carl Hetherington
2013-07-10Make subtitles work at least a bit.Carl Hetherington
2013-07-10Basic return of subtitles.Carl Hetherington