summaryrefslogtreecommitdiffstats
path: root/core/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-31 20:45:06 +0200
committerwm4 <wm4@nowhere>2013-07-31 20:56:00 +0200
commitd1de1e090f91a254f066505ee5811feda4d93dde (patch)
tree154365282fb60ceea2f44951fb96a9b48c044ad2 /core/mplayer.c
parentd6592dd2e209ea6b10231206e8b5d856bef8afaa (diff)
downloadmpv-d1de1e090f91a254f066505ee5811feda4d93dde.tar.bz2
mpv-d1de1e090f91a254f066505ee5811feda4d93dde.tar.xz
options: handle presets directly in m_config
This means that "mpv -vo opengl-hq:help" will actually show the correct defaults, instead those of plain vo_opengl.
Diffstat (limited to 'core/mplayer.c')
-rw-r--r--core/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 4ccfc6f526..0238e10be3 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -4609,7 +4609,7 @@ static int mpv_main(int argc, char *argv[])
// Create the config context and register the options
mpctx->mconfig = m_config_new(mpctx, sizeof(struct MPOpts),
- &mp_default_opts, mp_opts);
+ &mp_default_opts, mp_opts, NULL);
mpctx->opts = mpctx->mconfig->optstruct;
mpctx->mconfig->includefunc = cfg_include;
mpctx->mconfig->use_profiles = true;