diff options
author | wm4 <wm4@nowhere> | 2016-11-09 16:34:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-09 16:44:06 +0100 |
commit | a55e8ff31cc974843e28282ccbdc46dd3e70a5af (patch) | |
tree | 5a31cf271ac92129da6daff35302ac93746f4890 /video/decode/d3d.h | |
parent | b787a4121ad50f0e069863b96fda7d950175114e (diff) | |
download | mpv-a55e8ff31cc974843e28282ccbdc46dd3e70a5af.tar.bz2 mpv-a55e8ff31cc974843e28282ccbdc46dd3e70a5af.tar.xz |
dec_sub: avoid full reinit on switches to the same segment
The previous commit means subtitles were reinitialized on every seek
(even within a segment). This commit restores the old behavior.
To check whether the segment changed at all, we don't reset the current
start/end values. This assumes the decoder wrapper is always fed by a
stream which doesn't mix segment and non-segment packets, which is
currently always true.
Diffstat (limited to 'video/decode/d3d.h')
0 files changed, 0 insertions, 0 deletions