From b9f5daf9c334eb22d31fce4568ec5d15c59bd730 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 8 Dec 2014 17:27:07 +0100 Subject: player: make chapter seek to end jump to last frame with --keep-open There were complaints that a chapter seek past the last chapter was quitting the player. Change the behavior to what is expected: the last frame. If no chapters are available, this still does nothing. --- player/playloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/playloop.c') diff --git a/player/playloop.c b/player/playloop.c index 67e7f22001..6d680a0780 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -781,7 +781,7 @@ static void handle_loop_file(struct MPContext *mpctx) } } -static void seek_to_last_frame(struct MPContext *mpctx) +void seek_to_last_frame(struct MPContext *mpctx) { if (!mpctx->d_video) return; -- cgit v1.2.3