Clément Bœsch
63e370b2cf
avformat/subtitles: check lower bound for duration overlap seeking.
...
(cherry picked from commit 1ca4bf930bab681a79fb591330043675c7cfd798)
2013-09-10 21:44:43 +02:00
Clément Bœsch
af225c41d4
avformat/vobsub: fix seeking.
...
(cherry picked from commit f8678dcef3c5b0ea82e898e1f419863409fa135f)
2013-09-10 21:44:39 +02:00
Michael Niedermayer
aa86d2d884
lavf: move stream==-1 handling from ff_subtitles_queue_seek() to avformat_seek_file()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-02 23:02:33 +01:00
Clément Bœsch
d9ac8d2967
lavf: move srtdec:read_chunk() to subtitles utils.
...
This function can be useful for various other subtitles formats.
2012-12-30 22:58:58 +01:00
Clément Bœsch
ad5d72b123
lavf/subtitles: seek a little more backward when necessary.
...
If some previous subtitles are overlapping with the current time
we make sure they are raised so the renderer can display them too.
2012-12-02 00:06:03 +01:00
Clément Bœsch
ff3624b1ad
lavf/subtitles: add ff_subtitles_queue_seek().
...
This function is almost identical to lavf/assdec:read_seek2(). It
performs a generic seek for text subtitles demuxers for the new seeking
API.
The only difference with assdec:read_seek2 is the ts_diff being
unsigned to avoid overflows.
The seek callback in the ASS demuxer will be removed when it is
redesigned to use FFDemuxSubtitlesQueue.
2012-12-02 00:06:03 +01:00
Clément Bœsch
d948893dbd
lavf/subtitles: add some SMIL helpers.
...
This is needed for SAMI and RealText demuxers.
2012-06-29 20:20:02 +02:00
Clément Bœsch
7c9f9685ae
lavf: add internal demuxer helpers for subtitles.
2012-06-29 19:13:24 +02:00