changeset 14799:090be6ae25ac

disabled by default frame reordering
author nicodvb
date Thu, 24 Feb 2005 20:23:13 +0000
parents 0bd50330e688
children c3245111b6fb
files libmpdemux/muxer_mpeg.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Thu Feb 24 20:02:41 2005 +0000
+++ b/libmpdemux/muxer_mpeg.c	Thu Feb 24 20:23:13 2005 +0000
@@ -74,7 +74,7 @@
 static int conf_init_adelay = 0;
 static int conf_drop = 0;
 static int conf_skip_padding = 0;
-static int conf_noreorder = 0;
+static int conf_reorder = 0;
 
 enum FRAME_TYPE {
 	I_FRAME = 1,
@@ -171,7 +171,7 @@
 	{"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},
-	{"noreorder", &conf_noreorder, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+	{"reorder", &conf_reorder, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 
@@ -389,10 +389,10 @@
       spriv->min_pes_hlen = 18;
     else if(priv->is_xsvcd)
       spriv->min_pes_hlen = 22;
-    if(conf_noreorder)
+    if(conf_reorder)
+      spriv->reorder = 1;
+    else
       spriv->reorder = 0;
-    else
-      spriv->reorder = 1;
     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;