diff mencoder.c @ 4767:8d4208df7c15

Options registration for mencoder
author albeu
date Wed, 20 Feb 2002 17:02:31 +0000
parents 4b794a67e9ca
children fdb92826250c
line wrap: on
line diff
--- a/mencoder.c	Wed Feb 20 17:00:32 2002 +0000
+++ b/mencoder.c	Wed Feb 20 17:02:31 2002 +0000
@@ -341,6 +341,8 @@
     return size;
 }
 
+extern void me_register_options(m_config_t* cfg);
+
 //---------------------------------------------------------------------------
 
 static int eof=0;
@@ -443,7 +445,7 @@
   playtree = play_tree_new();
   mconfig = m_config_new(playtree);
   m_config_register_options(mconfig,mencoder_opts);
-  // TODO : add something to let modules register their options
+  me_register_options(mconfig);
   parse_cfgfiles(mconfig);
 
   if(m_config_parse_command_line(mconfig, argc, argv, envp) < 0) mencoder_exit(1, "error parsing cmdline");