changeset 14881:4fc77e435fbf

100l wrong binary operator when setting progressive frame
author nicodvb
date Tue, 01 Mar 2005 21:04:09 +0000
parents 991f5a7b1b7d
children 97214da64654
files libmpdemux/muxer_mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Tue Mar 01 20:56:43 2005 +0000
+++ b/libmpdemux/muxer_mpeg.c	Tue Mar 01 21:04:09 2005 +0000
@@ -1845,7 +1845,7 @@
 	rff = (vpriv->trf & 0x1) ? 0x2 : 0;
 	mp_msg(MSGT_MUXER, MSGL_V, "\nTFF: %d, RFF: %d\n", tff >> 7, rff >> 1);
 	pce_ptr[3] = (pce_ptr[3] & 0xfd) | tff | rff;
-	pce_ptr[4] &= 0x80;	//sets progressive frame
+	pce_ptr[4] |= 0x80;	//sets progressive frame
 	
 	if(! vpriv->vframes)
 		mp_msg(MSGT_MUXER, MSGL_INFO, "\nENABLED SOFT TELECINING, FPS=%s, INITIAL PATTERN IS TFF:%d, RFF:%d\n",