summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_decoder.cc
AgeCommit message (Collapse)Author
2015-10-26Reinstate subtitle speed-up patch 526fd6de4c80a7ac9614a1cb0209efff7b171cd5 ↵Carl Hetherington
but only for preview.
2015-10-23Revert "Avoid decoding other packets when looking for subs."Carl Hetherington
This reverts commit 9e025d3f85f9d6d855b3d5e6c90bca0eac3a3d49. It causes corruption in prophet_clip.xml for reasons that are not yet known.
2015-10-16Update comment.Carl Hetherington
2015-10-16Avoid decoding other packets when looking for subs.Carl Hetherington
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.
2015-09-14Lots of #include <iostream>s for Arch.Carl Hetherington
2015-08-31Reduce seek-inducing slack in SubtitleDecoder; see comment.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-06-12Remove PassReason stuff.Carl Hetherington
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.
2015-05-13Don't allow image subtitle store to get too big.Carl Hetherington
2015-05-13Don't bother decoding video frames when we're seeking around trying to find ↵Carl Hetherington
subtitles.
2015-05-12Assorted image subtitle fixes.Carl Hetherington
2014-12-03Hand apply a484114b80f21f2f786b6142ad950f5295249673 from master;Carl Hetherington
comments.
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-12Remove debug code.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-02Fix crash.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-03-04New DCPTime/ContentTime types.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-10Make subtitles work at least a bit.Carl Hetherington
2013-07-10Basic return of subtitles.Carl Hetherington