[MPlayer-cvslog] r19292 - trunk/libmpcodecs/ad_hwmpa.c

ben subversion at mplayerhq.hu
Tue Aug 1 20:44:31 CEST 2006


Author: ben
Date: Tue Aug  1 20:44:31 2006
New Revision: 19292

Modified:
   trunk/libmpcodecs/ad_hwmpa.c

Log:
fix a/v sync issues when using ad_hwmpa

Modified: trunk/libmpcodecs/ad_hwmpa.c
==============================================================================
--- trunk/libmpcodecs/ad_hwmpa.c	(original)
+++ trunk/libmpcodecs/ad_hwmpa.c	Tue Aug  1 20:44:31 2006
@@ -110,6 +110,9 @@
 		sh->a_in_buffer_len -= start + len;
 		memmove(sh->a_in_buffer, &(sh->a_in_buffer[start + len]), sh->a_in_buffer_len);
 		tot2 += spf * 2 * chans;
+
+                /* HACK: seems to fix most A/V sync issues */
+                break;
 	}
 
 	memset(&buf[tot], 0, tot2-tot);



More information about the MPlayer-cvslog mailing list