From 62c7a372ec90319d9b60fd9e8b3a39fe9a594a5c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 29 Nov 2014 01:03:37 +0100 Subject: 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.) --- player/playloop.c | 4 ---- 1 file changed, 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: -- cgit v1.2.3