summaryrefslogtreecommitdiff
path: root/libavformat/webvttdec.c
Commit message (Collapse)AuthorAge
* lavf/webvttdec: factorize identifier and settings side data code.Clément Bœsch2013-06-01
|
* lavf/webvttdec: save cue id and settings as side dataMatthew Heaney2013-06-01
| | | | | | | | | | | | | | | | | | | | | | Currently the WebVTT demuxer parses the cues but throws away the cue id (the optional first line of the cue) and cue settings (the optional rendering instructions that follow the timestamp). However, in order to write inband text tracks (to WebM files), the entire cue payload from the WebVTT source must be preserved. This commit makes no change to the data part of the output buffer packet (where the actual cue text is stored), but does add the cue id and settings as a side data items, if they're present in the cue. Existing code that cares only about the data part of the packet can continue to ignore the side data. There are two new packet data type flags, AV_PKT_DATA_WEBVTT_IDENTIFIER and AV_PKT_DATA_WEBVTT_SETTINGS.
* lavf/webvtt: use ff_subtitles_read_chunk().Clément Bœsch2013-01-03
| | | | | The FATE test is updated because the line breaks in the dialogue rectangles are now proper CRLF.
* lavf: remove generic index flag from text subtitles.Clément Bœsch2013-01-02
| | | | This flag is not necessary.
* lavf: use ff_subtitles_queue_seek() for text subtitles demuxers.Clément Bœsch2012-12-02
|
* lavf/webvttdec: fix potential timing overflows.Clément Bœsch2012-10-21
| | | | Should fix CID733781 and CID733782.
* WebVTT demuxer and decoder.Clément Bœsch2012-09-23