diff mencoder.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 ce07076345c0
children 823f39ab650b
line wrap: on
line diff
--- a/mencoder.c	Wed Jun 16 18:27:59 2010 +0000
+++ b/mencoder.c	Wed Jun 16 18:59:10 2010 +0000
@@ -596,6 +596,7 @@
   // Create the config context and register the options
   mconfig = m_config_new();
   m_config_register_options(mconfig,mencoder_opts);
+  m_config_register_options(mconfig, common_opts);
 
   // Preparse the command line
   m_config_preparse_command_line(mconfig,argc,argv);