diff options
author | 2014-11-11 19:36:03 +0100 | |
---|---|---|
committer | 2014-11-11 19:36:03 +0100 | |
commit | c827ae5f3603378b291d0575920e0cf87f5d0bfe (patch) | |
tree | f2e709bb55037c77c183553f8a78ed5fb3ecad68 /audio/chmap_sel.c | |
parent | 481ab94c4e16da53def1b4329b8e2883f40fae8e (diff) |
demux_mkv: adjust subtitle preroll again
Revert commit 24e52f66; even though the old beheavior doesn't make sense
(as the commit message assured), it turns out that this works better:
typically, it means preroll will start from the previous video key frame
(the video CUE index will contain clusters with video key frames only),
which often coincides with subtitle changes. Thus the old behavior is
actually better.
Change the code that uses CueDuration elements. Instead of merely
checking whether preroll should be done, find the first cluster that
needs to be read to get all subtitle packets. (The intention is to
compensate for the enlarged preroll cluster-range due to reverting
commit 24e52f66.)
Diffstat (limited to 'audio/chmap_sel.c')
0 files changed, 0 insertions, 0 deletions