mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
old InitialFrames stuff disabled - should work without it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1458 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2e5a0ca6fe
commit
742444bb43
@ -1143,7 +1143,7 @@ if(file_format==DEMUXER_TYPE_AVI && sh_audio){
|
||||
if(verbose) printf("Initial frame delay A: %d V: %d\n",(int)sh_audio->audio.dwInitialFrames,(int)sh_video->video.dwInitialFrames);
|
||||
if(!pts_from_bps){
|
||||
float x=(float)(sh_audio->audio.dwInitialFrames-sh_video->video.dwInitialFrames)*sh_video->frametime;
|
||||
audio_delay-=x;
|
||||
// audio_delay-=x;
|
||||
if(verbose) printf("AVI Initial frame delay: %5.3f\n",x);
|
||||
}
|
||||
if(verbose){
|
||||
|
Loading…
Reference in New Issue
Block a user