summaryrefslogtreecommitdiff
path: root/src/lib/subrip_decoder.cc
AgeCommit message (Collapse)Author
2016-02-12Rename SubRip -> TextSubtitle.Carl Hetherington
2015-11-20Tweak SubRip subtitle default position.Carl Hetherington
2015-11-13Vertically align SubRip subtitles with reference to the bottomCarl Hetherington
of the screen (#744).
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-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-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-10-15Fix invalid Interop subtitle times in some cases.Carl Hetherington
Use a much higher "timecode rate" (1000 rather than 24) when representing the time of subtitles internally so that accuracy is preserved and we don't end up rounding things up to give out of range results.
2015-09-14Lots of #include <iostream>s for Arch.Carl Hetherington
2015-07-02Pass colour on when decoding.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-06-04Fix horizontal positioning with .srt / burn-in (#488).Carl Hetherington
2015-06-03Various fixes to allow independent x and y scaling of text subs (#489).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
2015-01-23Remove erroneous rounding of subrip times.Carl Hetherington
2015-01-17Update for libsub1 API changes.Carl Hetherington
2015-01-11Fix call to dcp::Time constructor.Carl Hetherington
2015-01-03Various libdcp API changes.Carl Hetherington
2014-12-21Fix build.Carl Hetherington
2014-12-21Revert most of vertical positioning stuff from previous commit.Carl Hetherington
2014-12-21Update xml_subtitle_test result now that subtitles are being compared; ↵Carl Hetherington
improve placement in SubRip decoder.
2014-12-20Basic pass-through of font information when using DCP subtitles.Carl Hetherington
2014-12-15More fixes for newer libdcp.Carl Hetherington
2014-10-06Use libsub for subrip decoding; improve default position of srt subs.Carl Hetherington
2014-10-05More sensible default size / position for .srt subs.Carl Hetherington
2014-07-10Basics of DCP subtitle import.Carl Hetherington
2014-07-04Add 'starting' option to subtitles_during().Carl Hetherington
2014-07-02Hopefully improve subtitle decoder seeking etc.Carl Hetherington
2014-06-12Fix subrip subtitles a little.Carl Hetherington
2014-05-22Basics of noting subtitle times in FFmpegSubtitleStreams.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-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