From c62b45ec2ab020dad04a95aff3c85aab631b1f32 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Thu, 10 Aug 2023 18:53:45 -0500 Subject: player: add --term-remaining-playtime option The OSC reports the speed-adjusted remaining time, but the terminal does not. This is a weird mismatch and the OSC's default behavior makes sense, so let's just do some division and add an option to disable it. Also named "remaining-playtime" after the OSC option. Fixes #10445. --- options/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 36764ea84e..d635901202 100644 --- a/options/options.h +++ b/options/options.h @@ -231,6 +231,7 @@ typedef struct MPOpts { int term_osd; bool term_osd_bar; char *term_osd_bar_chars; + bool term_remaining_playtime; char *term_title; char *playing_msg; char *osd_playing_msg; -- cgit v1.2.3