[Mplayer-dev-eng] argh! i've found the bug in audio sync

Arpi arpi at thot.banki.hu
Sun May 27 02:06:11 CEST 2001


Hi,

I found the bug. it's the _float_data_type- itself!!!

I get different results for a and b if they are float, and equal with double:
a=0;
for(i=1;i<30000;i++) a+=1.0f/fps;
b=30000/fps;

This was the reason of the -bps audio desync problems!

Now AVI with -bps should be ok, even with seeking!

-nobps (default) is still broken, need some more coding to fix it.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list