[FFmpeg-cvslog] r15178 - trunk/libavformat/avformat.h

michael subversion
Wed Sep 3 16:02:17 CEST 2008


Author: michael
Date: Wed Sep  3 16:02:17 2008
New Revision: 15178

Log:
Try to clarify the semantics of AVPacket.duration.


Modified:
   trunk/libavformat/avformat.h

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	(original)
+++ trunk/libavformat/avformat.h	Wed Sep  3 16:02:17 2008
@@ -70,7 +70,11 @@ typedef struct AVPacket {
     int   size;
     int   stream_index;
     int   flags;
-    int   duration;                         ///< presentation duration in time_base units (0 if not available)
+    /**
+     * Duration of this packet in time_base units, 0 if unknown.
+     * Equals next_pts - this_pts in presentation order.
+     */
+    int   duration;
     void  (*destruct)(struct AVPacket *);
     void  *priv;
     int64_t pos;                            ///< byte position in stream, -1 if unknown




More information about the ffmpeg-cvslog mailing list