diff options
author | wm4 <wm4@nowhere> | 2016-01-12 23:48:28 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-12 23:48:28 +0100 |
commit | 6fc0fe4426c1b71630d281cbc9e0406f8ad7deee (patch) | |
tree | 8d1524ec2cf01b32edd8b9fd143c46f17cbc0e9a /player/playloop.c | |
parent | 671df54e4dcf0675c335483d26f7f6ff9baaf76a (diff) | |
download | mpv-6fc0fe4426c1b71630d281cbc9e0406f8ad7deee.tar.bz2 mpv-6fc0fe4426c1b71630d281cbc9e0406f8ad7deee.tar.xz |
player: handle hrseek framedrop correctly
This was non-sense and checked the option instead of the actual flag.
Possibly could lead to incorrect hr-seeks.
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c index 382a1c4b27..4d3e70b4f7 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -293,7 +293,7 @@ static int mp_seek(MPContext *mpctx, struct seek_params seek, // seeking past the chapter is handled elsewhere. if (hr_seek || mpctx->timeline) { mpctx->hrseek_active = true; - mpctx->hrseek_framedrop = !hr_seek_very_exact; + mpctx->hrseek_framedrop = !hr_seek_very_exact && opts->hr_seek_framedrop; mpctx->hrseek_pts = hr_seek ? seek.amount : mpctx->timeline[mpctx->timeline_part].start; |