Mercurial > mplayer.hg
diff mp_core.h @ 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 | 3340e52ad814 |
children | 11abe5f3dcaa |
line wrap: on
line diff
--- a/mp_core.h Sat Mar 10 14:33:28 2007 +0000 +++ b/mp_core.h Sun Mar 11 06:16:14 2007 +0000 @@ -66,6 +66,13 @@ // struct. int num_buffered_frames; + // AV sync: the next frame should be shown when the audio out has this + // much (in seconds) buffered data left. Increased when more data is + // written to the ao, decreased when moving to the next frame. + // In the audio-only case used as a timer since the last seek + // by the audio CPU usage meter. + double delay; + float begin_skip; ///< start time of the current skip while on edlout mode // audio is muted if either EDL or user activates mute short edl_muted; ///< Stores whether EDL is currently in muted mode.