From af1379c43d6a5274b75bce0adeef9e3a9ce87bdf Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 30 Aug 2016 23:50:57 +0200 Subject: options: make mp_vo_opts options an actual sub-option group Just a minor refactor along the planned option change. This commit will make it easier to update (i.e. copy) the VO options without copying _all_ options. For now, behavior should be equivalent, though. (The VO options were put into a separate struct quite early - when all global variables were removed from the source code. It wasn't clear whether the separate struct would have any actual purpose, but it seems it will now. Awesome, huh.) --- options/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 187abc2c1a..130ab4c1cf 100644 --- a/options/options.h +++ b/options/options.h @@ -98,7 +98,7 @@ typedef struct MPOpts { int gapless_audio; double audio_buffer; - mp_vo_opts vo; + mp_vo_opts *vo; int allow_win_drag; char *wintitle; -- cgit v1.2.3