[Mplayer-cvslog] CVS: main cfg-mencoder.h,1.58,1.59

Diego Biurrun CVS diego at mplayerhq.hu
Thu Dec 26 13:48:39 CET 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv25396

Modified Files:
	cfg-mencoder.h 
Log Message:
eviv bulgroz <ebulgroz at yahoo.com>:
The folllowing patch fixes 2 minor problems in lameopts presets
- prints an error message when fast/preset is used with an mplayer built
  without these options.
- small fix in manpage


Index: cfg-mencoder.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mencoder.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- cfg-mencoder.h	26 Dec 2002 11:33:11 -0000	1.58
+++ cfg-mencoder.h	26 Dec 2002 12:48:18 -0000	1.59
@@ -34,6 +34,9 @@
 #if HAVE_MP3LAME >= 392
 	{"fast", &lame_param_fast, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 	{"preset", &lame_param_preset, CONF_TYPE_STRING, 0, 0, 0, NULL},
+#else
+	{"fast", "MPlayer was built without -lameopts fast support (requires libmp3lame >=3.92)!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+	{"preset", "MPlayer was built without -lameopts preset support (requires libmp3lame >=3.92)!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
 #endif
 	{"help", "TODO: lameopts help!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
 	{NULL, NULL, 0, 0, 0, 0, NULL}




More information about the MPlayer-cvslog mailing list