summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2022-11-11 13:57:53 -0600
committerDudemanguy <random342@airmail.cc>2022-11-15 15:31:21 +0000
commit38a626650ae9662f583d8a81cbefc4892c0e6dcf (patch)
treeb562322d935454479b74e5fc1bed52300cefd229 /options/options.h
parent295ceab3820b07ad92f95f318b102fec957dd4e3 (diff)
downloadmpv-38a626650ae9662f583d8a81cbefc4892c0e6dcf.tar.bz2
mpv-38a626650ae9662f583d8a81cbefc4892c0e6dcf.tar.xz
player: add --force-render option
mpv has an internal optimization on a couple of platforms where it will not render any frames if the window is minimized or hidden. There's at least once possible use case for wanting to force a render anyway (screensharing with pipeware) so let's just add a simple switch for this that always forces mpv to render. Closes #10846.
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 f38f3b6bfb..2956ade751 100644
--- a/options/options.h
+++ b/options/options.h
@@ -56,6 +56,7 @@ typedef struct mp_vo_opts {
float force_monitor_aspect;
float monitor_pixel_aspect;
+ int force_render;
int force_window_position;
char *mmcss_profile;