summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stheader.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-02 19:52:59 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-02 19:52:59 +0000
commit74b6f07e68e77c0fd95021f1e71ea06e51cfe930 (patch)
tree04a85965d2f65b1944f5c8ff548071b6e15d91fa /libmpdemux/stheader.h
parent9d07488b0ab41c11e316c46d2694014d1583d989 (diff)
downloadmpv-74b6f07e68e77c0fd95021f1e71ea06e51cfe930.tar.bz2
mpv-74b6f07e68e77c0fd95021f1e71ea06e51cfe930.tar.xz
A-V sync cleanup: sh_audio->timer replaced by sh_audio->delay, it contains
delay relative to sh_video->timer (or to 0 if audioonly). It fixes ct: drifts of very long (several hours) playback. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8057 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r--libmpdemux/stheader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index 12dff42c10..8f681d9f13 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -46,7 +46,7 @@ typedef struct {
struct codecs_st *codec;
unsigned int format;
int inited;
- float timer; // value of old a_frame
+ float delay; // value of old a_frame
// output format:
int sample_format;
int samplerate;