[MPlayer-cvslog] CVS: main mplayer.c,1.926,1.927

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Apr 6 14:12:11 CEST 2006


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv25897

Modified Files:
	mplayer.c 
Log Message:
sh_audio->delay is adjusted in the wrong direction when changing audio_delay
at runtime (taking esp. long to recover with large -autosync).
Patch by Uoti Urpala [uoti urpala at pp1 inet fi]


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.926
retrieving revision 1.927
diff -u -r1.926 -r1.927
--- mplayer.c	30 Mar 2006 23:47:03 -0000	1.926
+++ mplayer.c	6 Apr 2006 12:12:08 -0000	1.927
@@ -1485,7 +1485,7 @@
         else {
             float delay = audio_delay;
             m_property_delay(prop,action,arg,&audio_delay);
-            if(sh_audio) sh_audio->delay += audio_delay-delay;
+            if(sh_audio) sh_audio->delay -= audio_delay-delay;
         }
         return 1;
     default:




More information about the MPlayer-cvslog mailing list