diff options
author | wm4 <wm4@nowhere> | 2018-05-17 13:13:00 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:34 +0200 |
commit | 4d2b3fca3b5c6e61d2ff3a22f78b1b640500808e (patch) | |
tree | e7427fbb456f6e0eece7223ed30600e6e9865227 /player/client.c | |
parent | 972989db7e63c199edb605884bb2594eaecc9569 (diff) | |
download | mpv-4d2b3fca3b5c6e61d2ff3a22f78b1b640500808e.tar.bz2 mpv-4d2b3fca3b5c6e61d2ff3a22f78b1b640500808e.tar.xz |
player: don't reset last_seek_pts on playback state reset
This is nonsense. Didn't matter in most situations, because seeking
itself set this after it was cleared. But some callers don't do this,
see e.g. commit ed73ba89644fc6. There is no need to clear it at all, and
it causes issues with the next commit. It only needs to be reset on
loading.
Also move the initialization on loading up, which doesn't change
behavior, but makes the intention clearer.
Diffstat (limited to 'player/client.c')
0 files changed, 0 insertions, 0 deletions