[MPlayer-cvslog] CVS: main/libmpdemux muxer_mpeg.c,1.5,1.6

Nico Sabbi CVS syncmail at mplayerhq.hu
Tue Feb 22 22:47:21 CET 2005


CVS change done by Nico Sabbi CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv28529

Modified Files:
	muxer_mpeg.c 
Log Message:
renamed init_adelay to vdelay with opposite range

Index: muxer_mpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_mpeg.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- muxer_mpeg.c	21 Feb 2005 21:45:49 -0000	1.5
+++ muxer_mpeg.c	22 Feb 2005 21:47:18 -0000	1.6
@@ -167,7 +167,7 @@
 	{"vbitrate", &(conf_vbitrate), CONF_TYPE_INT, CONF_RANGE, 1, 104857599, NULL},
 	{"init_vpts", &(conf_init_vpts), CONF_TYPE_INT, CONF_RANGE, 100, 700, NULL},		//2*frametime at 60fps
 	{"init_apts", &(conf_init_apts), CONF_TYPE_INT, CONF_RANGE, 100, 700, NULL},
-	{"init_adelay", &conf_init_adelay, CONF_TYPE_INT, CONF_RANGE, -32760, -1, NULL},
+	{"vdelay", &conf_init_adelay, CONF_TYPE_INT, CONF_RANGE, 1, 32760, NULL},
 	{"drop", &conf_drop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 	{"tsaf", &conf_ts_allframes, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 	{"skip_padding", &conf_skip_padding, CONF_TYPE_FLAG, 0, 0, 1, NULL},
@@ -2418,7 +2418,7 @@
   priv->scr = muxer->file_end = 0;
   
   if(conf_init_adelay)
-  	priv->init_adelay = (double) conf_init_adelay / (double) 1000.0;
+  	priv->init_adelay = - (double) conf_init_adelay / (double) 1000.0;
   
   priv->drop = conf_drop;
   




More information about the MPlayer-cvslog mailing list