[Mplayer-cvslog] CVS: main mplayer.c,1.692,1.693
Ross Finlayson CVS
rsf at mplayerhq.hu
Sat May 3 08:09:39 CEST 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv12359
Modified Files:
mplayer.c
Log Message:
Changed the order of two conditionals in an "if" statement, to make the code
(very slightly) more efficient in the common case.
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.692
retrieving revision 1.693
diff -u -r1.692 -r1.693
--- mplayer.c 19 Apr 2003 18:46:15 -0000 1.692
+++ mplayer.c 3 May 2003 06:09:36 -0000 1.693
@@ -2204,7 +2204,7 @@
static int drop_message=0;
float x;
AV_delay=(a_pts-delay-audio_delay)-v_pts;
- if(drop_frame_cnt>50+drop_message*250 && AV_delay>0.5){
+ if(AV_delay>0.5 && drop_frame_cnt>50+drop_message*250){
++drop_message;
mp_msg(MSGT_AVSYNC,MSGL_ERR,MSGTR_SystemTooSlow);
}
More information about the MPlayer-cvslog
mailing list