summaryrefslogtreecommitdiffstats
path: root/options/parse_configfile.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-19 22:05:17 +0200
committerwm4 <wm4@nowhere>2014-04-19 22:05:17 +0200
commitb85983a4a6f52c85651f916bfedb8234c9424634 (patch)
tree8d25ec8de84ad597e12c1e7596253739ea951cc8 /options/parse_configfile.h
parent85998f6121edb44672f51c4745fb243f3c567d3f (diff)
downloadmpv-b85983a4a6f52c85651f916bfedb8234c9424634.tar.bz2
mpv-b85983a4a6f52c85651f916bfedb8234c9424634.tar.xz
encode: don't apply default config options
Often, user configs set options that are not suitable for encoding. Usually, playback and encoding are pretty different things, so it makes sense to keep them strictly separate. There are several possible solutions. The approach taken by this commit is to basically ignore the default config settings, and switch to an [encoding] config profile section instead. This also makes it impossible to have --o in a config file, because --o enables encode mode. See github issue #727 for discussion.
Diffstat (limited to 'options/parse_configfile.h')
-rw-r--r--options/parse_configfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/parse_configfile.h b/options/parse_configfile.h
index 65a4b49496..4a42cee001 100644
--- a/options/parse_configfile.h
+++ b/options/parse_configfile.h
@@ -22,6 +22,6 @@
#include "m_config.h"
int m_config_parse_config_file(m_config_t* config, const char *conffile,
- int flags);
+ char *initial_section, int flags);
#endif /* MPLAYER_PARSER_CFG_H */