summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_subtitle_stream.cc
AgeCommit message (Collapse)Author
2025-10-15Cleanup: white space and sorting.Carl Hetherington
2025-10-15White space: ffmpeg_subtitle_stream.{cc,h}Carl Hetherington
2025-01-05Remove some unused includes.Carl Hetherington
2024-03-20Remove all use of add_child() from xmlpp.Carl Hetherington
2022-04-22Use libdcp's warnings.hCarl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2020-07-26Ignore libxml++ warnings in a nicer way.Carl Hetherington
2019-01-26Add lock to _colours since it can be manipulated by a Job thread.Carl Hetherington
2017-04-27Initial work on removing storage of subtitle times.Carl Hetherington
2017-04-19Various Doxygen fixes.Carl Hetherington
2017-04-19Basic grunt-work, untested and unfinished, but it compiles.Carl Hetherington
2016-11-23Fix hanging subtitles after recent changes to subtitle examination.Carl Hetherington
2016-11-20Fix subtitles (seen in DVB) which have a specified `to' time butCarl Hetherington
then are terminated earlier than that by a num_rects=0 subtitle.
2016-11-17A possibly-better approach to seeking.Carl Hetherington
Before this commit, decoders try to guess whether they should request a seek based on what they have in their buffers. This seems reasonable for video and audio, which will always (I think) have some data lying around to give an indication of where their parent decoders are in the timeline. It doesn't work so well for subtitles, as the storage of subs is cleared out based on time (+/- 5s of "now") so there is a good chance that the storage will be empty. This gives the subtitle decoder no chance of knowing where its parent is, so it's very likely to seek. This commit asks the parent decoder to seek if it wants to, and it decides based on a knowledge of roughly where it is in the timeline. Hence the sub-decoders just see if they have got the data that is being requested, and if not they suggest to the parent that it might like to seek. They then start calling pass(). Hence the parent should only seek if some calls to pass() are not going to elicit the required data in a reasonable time.
2016-10-04Fix subtitle_id to work with _TEXT and _ASS subtitles (fixes #969).Carl Hetherington
2016-08-12Move raw_convert into libdcp.Carl Hetherington
2016-07-31Allow configuration of MXF/XML filenames (part of #710).Carl Hetherington
2016-05-26Sort return from subtitles_during to fix all-subtitles display in SubtitlePanel.Carl Hetherington
2016-05-26Tidy up image/text subtitle distinction with FFmpeg sources.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-02-26Allow changes to colours of FFmpeg subtitles (#795).Carl Hetherington
2016-02-15Support SSA subtitles embedded within FFmpeg files.Carl Hetherington
2016-02-01Subtitle "to" times used to be stored against their "from" times.Carl Hetherington
Sadly an example shows that from times are not unique. This patch uses a hash of stuff from the first AVSubtitle as the key.
2015-09-26Fix problems with subtitles when there is a non-zero PTS offsetCarl Hetherington
in FFmpegDecoder. This offset was not being taken into account for subtitles prior to this commit.
2015-09-14Lots of #include <iostream>s for Arch.Carl Hetherington
2015-08-31Add a using cout for luck.Carl Hetherington
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-12Fix FFmpeg subtitle stream serialisation.Carl Hetherington
2015-05-13Look up unknown subtitle end times from the data prepared by the examiner.Carl Hetherington
2015-05-12Assorted image subtitle fixes.Carl Hetherington
2014-05-22Move FFmpegStream classes into their own source files.Carl Hetherington