From 4c56baba4048f8a881253d4fe2f49c2715c77376 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Jan 2013 10:56:11 +0100 Subject: options: move -geometry parsing to m_option.c This also means the option is verified on program start, not when the VO is created. The actual code becomes a bit more complex, because the screen width/height is not available at program start. The actual parsing code is still the same, with its unusual sscanf() usage. --- core/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/options.h') diff --git a/core/options.h b/core/options.h index 6edbb79ac8..10932a4edf 100644 --- a/core/options.h +++ b/core/options.h @@ -20,6 +20,7 @@ typedef struct MPOpts { int screen_size_y; int vo_screenwidth; int vo_screenheight; + struct m_geometry vo_geometry; int force_window_position; char *vo_winname; char *vo_wintitle; -- cgit v1.2.3