summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stheader.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-16 22:34:46 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-16 22:34:46 +0000
commitbb561230652d8ff4961c0ef749304a24d47a9170 (patch)
treea7b2dda72349b85e0bcacf1cff764ebde66b128c /libmpdemux/stheader.h
parentf6dc0e5313aee191bd827710c6969485265d2f62 (diff)
downloadmpv-bb561230652d8ff4961c0ef749304a24d47a9170.tar.bz2
mpv-bb561230652d8ff4961c0ef749304a24d47a9170.tar.xz
fixed the well-known DVD/DVB audio delay bug :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8966 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r--libmpdemux/stheader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index af79be5bed..79a687d216 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -91,6 +91,9 @@ typedef struct {
// frame counters:
float num_frames; // number of frames played
int num_frames_decoded; // number of frames decoded
+ // timing (mostly for mpeg):
+ float pts; // predicted/interpolated PTS of the current frame
+ float i_pts; // PTS for the _next_ I/P frame
// output format: (set by demuxer)
float fps; // frames per second (set only if constant fps)
float frametime; // 1/fps