[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.83,1.84

Tobias Diedrich CVS ranma at mplayerhq.hu
Mon Nov 3 17:35:43 CET 2003


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

Modified Files:
	ve_lavc.c 
Log Message:
mencoder lavc audio encoding support

Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- ve_lavc.c	3 Nov 2003 02:42:39 -0000	1.83
+++ ve_lavc.c	3 Nov 2003 16:35:40 -0000	1.84
@@ -135,10 +135,17 @@
 static int lavc_param_mv0= 0;
 static int lavc_param_noise_reduction= 0;
 
+char *lavc_param_acodec = "mp2";
+int lavc_param_atag = 0;
+int lavc_param_abitrate = 224;
+
 #include "m_option.h"
 
 #ifdef USE_LIBAVCODEC
 m_option_t lavcopts_conf[]={
+	{"acodec", &lavc_param_acodec, CONF_TYPE_STRING, 0, 0, 0, NULL},
+	{"abitrate", &lavc_param_abitrate, CONF_TYPE_INT, CONF_RANGE, 1, 1000, NULL},
+	{"atag", &lavc_param_atag, CONF_TYPE_INT, CONF_RANGE, 0, 0xffff, NULL},
 	{"vcodec", &lavc_param_vcodec, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"vbitrate", &lavc_param_vbitrate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000, NULL},
 	{"vratetol", &lavc_param_vrate_tolerance, CONF_TYPE_INT, CONF_RANGE, 4, 24000000, NULL},



More information about the MPlayer-cvslog mailing list