Mercurial > mplayer.hg
diff mplayer.c @ 31368:f73663d84979
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 MPlayer and MEncoder are now in only one file.
author | diego |
---|---|
date | Wed, 16 Jun 2010 18:59:10 +0000 |
parents | 0bf908d29807 |
children | 1cf0f471ceee |
line wrap: on
line diff
--- a/mplayer.c Wed Jun 16 18:27:59 2010 +0000 +++ b/mplayer.c Wed Jun 16 18:59:10 2010 +0000 @@ -2681,6 +2681,7 @@ // Create the config context and register the options mconfig = m_config_new(); m_config_register_options(mconfig,mplayer_opts); + m_config_register_options(mconfig, common_opts); mp_input_register_options(mconfig); // Preparse the command line