From 07668e50de8c3d9418f7eb1ef00f0391b29a05da Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 25 Sep 2014 20:42:59 +0200 Subject: player: move code to make playloop smaller This is basically a cosmetic change, although it weirdly also affects the percent position in encoding mode. --- player/playloop.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'player/playloop.c') 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); -- cgit v1.2.3