summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-20 17:02:31 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-20 17:02:31 +0000
commit9680e726211120f58a98d3ac38c3aa93fb1832b3 (patch)
tree223fe74066b95b8a857eda3ebb9a890b38adf8e8 /mencoder.c
parentd14e6b691c52e483bf609dd1022c84ad7cf666f8 (diff)
downloadmpv-9680e726211120f58a98d3ac38c3aa93fb1832b3.tar.bz2
mpv-9680e726211120f58a98d3ac38c3aa93fb1832b3.tar.xz
Options registration for mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4768 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mencoder.c b/mencoder.c
index 5073cc8bff..3c36fb3609 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -341,6 +341,8 @@ int dec_audio(sh_audio_t *sh_audio,unsigned char* buffer,int total){
return size;
}
+extern void me_register_options(m_config_t* cfg);
+
//---------------------------------------------------------------------------
static int eof=0;
@@ -443,7 +445,7 @@ divx4_param.rc_reaction_ratio = 20;
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");