From 38a626650ae9662f583d8a81cbefc4892c0e6dcf Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Fri, 11 Nov 2022 13:57:53 -0600 Subject: 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. --- 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 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; -- cgit v1.2.3