Mercurial > mplayer.hg
comparison libmpcodecs/ve_divx4.c @ 10594:57bdcdb061d7
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
author | alex |
---|---|
date | Wed, 13 Aug 2003 16:29:32 +0000 |
parents | d275152390ee |
children | 656a1b45b309 |
comparison
equal
deleted
inserted
replaced
10593:27711ab2889f | 10594:57bdcdb061d7 |
---|---|
66 #ifdef HAVE_XVID_VBR | 66 #ifdef HAVE_XVID_VBR |
67 static int vbrpass = -1; | 67 static int vbrpass = -1; |
68 static int vbrdebug = 0; | 68 static int vbrdebug = 0; |
69 #endif | 69 #endif |
70 | 70 |
71 #include "cfgparser.h" | 71 #include "m_option.h" |
72 | 72 |
73 struct config divx4opts_conf[]={ | 73 m_option_t divx4opts_conf[]={ |
74 {"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2, NULL}, | 74 {"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2, NULL}, |
75 {"br", &divx4_param.bitrate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000, NULL}, | 75 {"br", &divx4_param.bitrate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000, NULL}, |
76 #if ENCORE_MAJOR_VERSION < 5200 | 76 #if ENCORE_MAJOR_VERSION < 5200 |
77 {"rc_period", &divx4_param.rc_period, CONF_TYPE_INT, 0,0,0, NULL}, | 77 {"rc_period", &divx4_param.rc_period, CONF_TYPE_INT, 0,0,0, NULL}, |
78 {"rc_reaction_period", &divx4_param.rc_reaction_period, CONF_TYPE_INT, 0,0,0, NULL}, | 78 {"rc_reaction_period", &divx4_param.rc_reaction_period, CONF_TYPE_INT, 0,0,0, NULL}, |