summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-11-09 16:34:45 +0100
committerwm4 <wm4@nowhere>2016-11-09 16:44:06 +0100
commita55e8ff31cc974843e28282ccbdc46dd3e70a5af (patch)
tree5a31cf271ac92129da6daff35302ac93746f4890 /audio
parentb787a4121ad50f0e069863b96fda7d950175114e (diff)
downloadmpv-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 'audio')
0 files changed, 0 insertions, 0 deletions