CVS: main cfg-mplayer.h,1.220,1.221
CVS change done by Diego Biurrun CVS Update of /cvsroot/mplayer/main In directory mail:/var2/tmp/cvs-serv11065 Modified Files: cfg-mplayer.h Log Message: 10l of a sweet liquid to Alex: -rtc should be the inverse of -nortc, added this missing option and renamed -rtc to -rtc-device, which is more descriptive anyway. Index: cfg-mplayer.h =================================================================== RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v retrieving revision 1.220 retrieving revision 1.221 diff -u -r1.220 -r1.221 --- cfg-mplayer.h 26 Jun 2004 10:51:43 -0000 1.220 +++ cfg-mplayer.h 28 Jun 2004 12:17:36 -0000 1.221 @@ -412,7 +412,8 @@ {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL}, #ifdef HAVE_RTC {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL}, - {"rtc", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, + {"rtc", &nortc, CONF_TYPE_FLAG, 0, 0, 0, NULL}, + {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, #endif {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
On Mon, Jun 28, 2004 at 02:17:38PM +0200, Diego Biurrun CVS wrote:
CVS change done by Diego Biurrun CVS
- {"rtc", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, + {"rtc", &nortc, CONF_TYPE_FLAG, 0, 0, 0, NULL},
I'm not quite sure anymore, but i thougt that XX and noXX options should have the min/max values exchanged, or am i wrong ? (prolly, as it been a while since i hacked cfg-*.h) BTW: unless i am blind, there is no docu about this, but this is one of the parts nearly everyone needs to edit if he/she wants to add a new option. Could someone with knowledge about the config system write a short text for DOCS/tech ? Attila Kinali
On Sat, Jul 17, 2004 at 08:59:02PM +0900, attila wrote:
On Mon, Jun 28, 2004 at 02:17:38PM +0200, Diego Biurrun CVS wrote:
CVS change done by Diego Biurrun CVS
- {"rtc", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, + {"rtc", &nortc, CONF_TYPE_FLAG, 0, 0, 0, NULL},
I'm not quite sure anymore, but i thougt that XX and noXX options should have the min/max values exchanged, or am i wrong ? (prolly, as it been a while since i hacked cfg-*.h)
Maybe it makes more sense when you see the whole block with a bit of prettyprinting added: {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"rtc", &nortc, CONF_TYPE_FLAG, 0, 0, 0, NULL}, {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, I think it's correct.
BTW: unless i am blind, there is no docu about this, but this is one of the parts nearly everyone needs to edit if he/she wants to add a new option. Could someone with knowledge about the config system write a short text for DOCS/tech ?
Good idea. Any volunteers? Diego
On Tue, Jul 20, 2004 at 01:02:28PM +0200, Diego Biurrun wrote:
BTW: unless i am blind, there is no docu about this, but this is one of the parts nearly everyone needs to edit if he/she wants to add a new option. Could someone with knowledge about the config system write a short text for DOCS/tech ?
Good idea. Any volunteers?
Looks like not, so i'll add it to my todo list, right after porting mga_vid to 2.6. Attila Kinali
participants (4)
-
attila -
Attila Kinali -
Diego Biurrun -
syncmail@mplayerhq.hu