Mercurial > mplayer.hg
changeset 14809:d5683a00b74c
both reorder and noreorder flags are now available
author | nicodvb |
---|---|
date | Fri, 25 Feb 2005 07:46:44 +0000 |
parents | 9d495b825bcd |
children | 14d0d7d74c10 |
files | DOCS/man/en/mplayer.1 libmpdemux/muxer_mpeg.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1 Fri Feb 25 07:43:40 2005 +0000 +++ b/DOCS/man/en/mplayer.1 Fri Feb 25 07:46:44 2005 +0000 @@ -7886,6 +7886,10 @@ Works only with MPEG-1/2 video. . .TP +.B noreorder +Disables the above mentioned frame reordering code. +. +.TP .B init_vpts=<100\-700> initial video pts, in milliseconds (default: 200) .
--- a/libmpdemux/muxer_mpeg.c Fri Feb 25 07:43:40 2005 +0000 +++ b/libmpdemux/muxer_mpeg.c Fri Feb 25 07:46:44 2005 +0000 @@ -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;