[MPlayer-cvslog] CVS: main/libmpdemux muxer_mpeg.c,1.8,1.9

Nico Sabbi CVS syncmail at mplayerhq.hu
Fri Feb 25 08:43:11 CET 2005


CVS change done by Nico Sabbi CVS

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

Modified Files:
	muxer_mpeg.c 
Log Message:
both reorder and noreorder flags are now available

Index: muxer_mpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_mpeg.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- muxer_mpeg.c	24 Feb 2005 20:23:13 -0000	1.8
+++ muxer_mpeg.c	25 Feb 2005 07:43:09 -0000	1.9
@@ -172,6 +172,7 @@
 	{"tsaf", &conf_ts_allframes, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 	{"skip_padding", &conf_skip_padding, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 	{"reorder", &conf_reorder, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+	{"noreorder", &conf_reorder, CONF_TYPE_FLAG, 0, 0, 0, NULL},
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 
@@ -389,10 +390,7 @@
       spriv->min_pes_hlen = 18;
     else if(priv->is_xsvcd)
       spriv->min_pes_hlen = 22;
-    if(conf_reorder)
-      spriv->reorder = 1;
-    else
-      spriv->reorder = 0;
+    spriv->reorder = conf_reorder;
     mp_msg (MSGT_MUXER, MSGL_DBG2, "Added video stream %d, ckid=%X\n", muxer->num_videos, s->ckid);
   } else { // MUXER_TYPE_AUDIO
     spriv->type = 0;




More information about the MPlayer-cvslog mailing list