summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-08-10 18:53:45 -0500
committerDudemanguy <random342@airmail.cc>2023-08-13 19:58:20 +0000
commitc62b45ec2ab020dad04a95aff3c85aab631b1f32 (patch)
tree3c3c41ef746155f0d7687e2266abac47c00292c9 /options/options.h
parent6ea08be59ac503f7309a19a50d5e664426e8c9f3 (diff)
downloadmpv-c62b45ec2ab020dad04a95aff3c85aab631b1f32.tar.bz2
mpv-c62b45ec2ab020dad04a95aff3c85aab631b1f32.tar.xz
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.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
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;