summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-14 17:17:04 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:10:47 +0200
commit53bb25e2e733a2a6756b3ec7e4ab549cabab40c8 (patch)
treea949847a09cf701a98b44fb8ff3055aa429b51d8 /mplayer.c
parent5d7f80c68b77454ac950f2a24b6110e36c29e7c7 (diff)
downloadmpv-53bb25e2e733a2a6756b3ec7e4ab549cabab40c8.tar.bz2
mpv-53bb25e2e733a2a6756b3ec7e4ab549cabab40c8.tar.xz
cfg-common*: Replace common options template by a common options array
This solution works just as well, but avoids a separate template file that needs to be #included from multiple places. The end result is simpler since common options and those of MPlayer and MEncoder are now in only one file each. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31434 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 067971f2dd..ad25bd9cbd 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3141,6 +3141,7 @@ int i;
// Create the config context and register the options
mpctx->mconfig = m_config_new(opts, cfg_include);
m_config_register_options(mpctx->mconfig,mplayer_opts);
+ m_config_register_options(mpctx->mconfig, common_opts);
mp_input_register_options(mpctx->mconfig);
// Preparse the command line