Mercurial > libavformat.hg
diff avformat.h @ 3878:ed2a8a769982 libavformat
Try to clarify the semantics of AVPacket.duration.
author | michael |
---|---|
date | Wed, 03 Sep 2008 14:02:17 +0000 |
parents | 1b6245500d8c |
children | 3f4d2a22bd1b |
line wrap: on
line diff
--- a/avformat.h Wed Sep 03 04:47:44 2008 +0000 +++ b/avformat.h Wed Sep 03 14:02:17 2008 +0000 @@ -70,7 +70,11 @@ 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