Commit 90fb0258 authored by michael's avatar michael

Try to clarify the semantics of AVPacket.duration.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15178 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1031e073
...@@ -70,7 +70,11 @@ typedef struct AVPacket { ...@@ -70,7 +70,11 @@ typedef struct AVPacket {
int size; int size;
int stream_index; int stream_index;
int flags; 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 (*destruct)(struct AVPacket *);
void *priv; void *priv;
int64_t pos; ///< byte position in stream, -1 if unknown int64_t pos; ///< byte position in stream, -1 if unknown
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment