changeset 17583:f4dacb3d428a

tff wasn't correctly unset in soft_telecine()
author nicodvb
date Fri, 10 Feb 2006 22:28:32 +0000
parents 43d52074daf9
children 187260c06b4f
files libmpdemux/muxer_mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Fri Feb 10 18:58:50 2006 +0000
+++ b/libmpdemux/muxer_mpeg.c	Fri Feb 10 22:28:32 2006 +0000
@@ -1828,7 +1828,7 @@
 	tff = (vpriv->trf & 0x2) ? 0x80 : 0;
 	rff = (vpriv->trf & 0x1) ? 0x2 : 0;
 	mp_msg(MSGT_MUXER, MSGL_DBG2, "\nTRF: %d, TFF: %d, RFF: %d, n: %d\n", vpriv->trf, tff >> 7, rff >> 1, n);
-	pce_ptr[3] = (pce_ptr[3] & 0xfd) | tff | rff;
+	pce_ptr[3] = (pce_ptr[3] & 0x7d) | tff | rff;
 	pce_ptr[4] |= 0x80;	//sets progressive frame
 	
 	if(! vpriv->vframes)