aboutsummaryrefslogtreecommitdiffhomepage
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-02-18 22:56:40 +0100
committerGravatar wm4 <wm4@nowhere>2016-02-18 22:56:40 +0100
commite832e46bd6d7e2c06d88e2129d1cd3dfd1be21e1 (patch)
tree05d581e0a1b1b6cd090bb42e8684a018f9b888cf /player/loadfile.c
parent53ef4822e83e8482db8d1e75a73762f8784b8d16 (diff)
player: remove initial seek on playback start
Accidental leftover from commit ae55896f. (This seek ised to be done with ordered chapters, and was accidentally changed to always being done.)
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 1383fc5361..60a595c3da 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1189,8 +1189,6 @@ reopen_file:
if (start != MP_NOPTS_VALUE)
startpos = start;
}
- if (startpos == MP_NOPTS_VALUE)
- startpos = 0;
if (startpos != MP_NOPTS_VALUE) {
queue_seek(mpctx, MPSEEK_ABSOLUTE, startpos, 0, true);
execute_queued_seek(mpctx);