[MPlayer-cvslog] CVS: main/libmpdemux muxer_mpeg.c,1.38,1.39
Nico Sabbi CVS
syncmail at mplayerhq.hu
Sun Feb 12 12:47:39 CET 2006
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv20030
Modified Files:
muxer_mpeg.c
Log Message:
delay rff by 6, not 3 frames, so the rff will be in the middle of the 12 frames sequence
Index: muxer_mpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_mpeg.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- muxer_mpeg.c 12 Feb 2006 11:04:12 -0000 1.38
+++ muxer_mpeg.c 12 Feb 2006 11:47:36 -0000 1.39
@@ -1861,7 +1861,9 @@
{
if(rest1)
{
- vpriv->delay_rff = 4; //delay of 3 frames the setting, so we don't have 2 consecutive rff
+ //delay the setting by 6 frames, so we don't have 2 consecutive rff
+ //and the transition will be smoother (halfway in the 12-frames sequence)
+ vpriv->delay_rff = 7;
mp_msg(MSGT_MUXER, MSGL_V, "\r\nDELAYED: %d\r\n", rest2);
}
else
More information about the MPlayer-cvslog
mailing list