summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-25 20:42:59 +0200
committerwm4 <wm4@nowhere>2014-09-25 21:32:56 +0200
commit07668e50de8c3d9418f7eb1ef00f0391b29a05da (patch)
tree765064185ab57b5aa046c3c9678abd1167fcc93c /player/playloop.c
parentd23ffd243f33ce5d6a5649c7909664b0ae1e858e (diff)
downloadmpv-07668e50de8c3d9418f7eb1ef00f0391b29a05da.tar.bz2
mpv-07668e50de8c3d9418f7eb1ef00f0391b29a05da.tar.xz
player: move code to make playloop smaller
This is basically a cosmetic change, although it weirdly also affects the percent position in encoding mode.
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/player/playloop.c b/player/playloop.c
index c9eba1b9c2..de1165e963 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -859,12 +859,6 @@ void run_playloop(struct MPContext *mpctx)
}
}
- if (opts->chapterrange[1] > 0) {
- double end = chapter_start_time(mpctx, opts->chapterrange[1]);
- if (end != MP_NOPTS_VALUE && (endpts == MP_NOPTS_VALUE || end < endpts))
- endpts = end;
- }
-
handle_cursor_autohide(mpctx);
handle_heartbeat_cmd(mpctx);