diff libmpdemux/stheader.h @ 8965:14fa6a121a47

fixed the well-known DVD/DVB audio delay bug :)
author arpi
date Thu, 16 Jan 2003 22:34:46 +0000
parents bffdd162d034
children 0db4a3a5b01d
line wrap: on
line diff
--- a/libmpdemux/stheader.h	Thu Jan 16 19:51:08 2003 +0000
+++ b/libmpdemux/stheader.h	Thu Jan 16 22:34:46 2003 +0000
@@ -91,6 +91,9 @@
   // 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