From 9db0c118d3acee07880472e590dc0a25e5b51be6 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 31 Mar 2008 06:19:29 +0300 Subject: Start of new option system First part of option restructuring. The aim is to move option values from a huge number of separate globals to a single non-global struct. This part adds some support for parsing option values into such struct instances, and moves one example option (fixed-vo) to the struct. --- defaultopts.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 defaultopts.c (limited to 'defaultopts.c') diff --git a/defaultopts.c b/defaultopts.c new file mode 100644 index 0000000000..21ee1eaad9 --- /dev/null +++ b/defaultopts.c @@ -0,0 +1,9 @@ +#include "defaultopts.h" +#include "options.h" + +void set_default_mplayer_options(struct MPOpts *opts) +{ + *opts = (const struct MPOpts){ + .fixed_vo = 0, + }; +} -- cgit v1.2.3