diff options
author | wm4 <wm4@nowhere> | 2014-11-29 01:03:37 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-01-25 17:00:11 +0900 |
commit | 62c7a372ec90319d9b60fd9e8b3a39fe9a594a5c (patch) | |
tree | ecd79b63064eb0c18c70647f28fe1b4e623473c7 /player/playloop.c | |
parent | 0692da30077b162dd86049ff3f802137e9952937 (diff) | |
download | mpv-62c7a372ec90319d9b60fd9e8b3a39fe9a594a5c.tar.bz2 mpv-62c7a372ec90319d9b60fd9e8b3a39fe9a594a5c.tar.xz |
player: don't ignore relative seeks by 0 seconds
I don't know why this done; most likely it had no real reason.
Remove it because it breaks "refresh seeks" to the same position.
(Although the refresh seeks mpv sometimes does were fine.)
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/player/playloop.c b/player/playloop.c index 5d60088f7d..13498502b6 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -311,10 +311,6 @@ void queue_seek(struct MPContext *mpctx, enum seek_type type, double amount, seek->exact = exact; if (seek->type == MPSEEK_ABSOLUTE) return; - if (seek->amount == 0) { - *seek = (struct seek_params){ 0 }; - return; - } seek->type = MPSEEK_RELATIVE; return; case MPSEEK_ABSOLUTE: |