Mercurial > mplayer.hg
comparison libmpdemux/demuxer.c @ 22488:b6aa3eedf49b
Move the sh_audio->delay field to mpctx->delay.
The value is related to overall a/v sync and is not used by audio
demuxers or decoders.
author | uau |
---|---|
date | Sun, 11 Mar 2007 06:16:14 +0000 |
parents | 84f95595f31f |
children | 4d81dbdf46b9 |
comparison
equal
deleted
inserted
replaced
22487:1c5ea79749ea | 22488:b6aa3eedf49b |
---|---|
927 demuxer->audio->eof=0; | 927 demuxer->audio->eof=0; |
928 | 928 |
929 #if 0 | 929 #if 0 |
930 if(sh_audio) sh_audio->timer=sh_video->timer; | 930 if(sh_audio) sh_audio->timer=sh_video->timer; |
931 #else | 931 #else |
932 if(sh_audio) sh_audio->delay=0; | |
933 if(sh_video) sh_video->timer=0; // !!!!!! | 932 if(sh_video) sh_video->timer=0; // !!!!!! |
934 #endif | 933 #endif |
935 | 934 |
936 if(flags & 1) // absolute seek | 935 if(flags & 1) // absolute seek |
937 pts = 0.0f; | 936 pts = 0.0f; |