mirror of https://git.videolan.org/git/ffmpeg.git
Try to clarify the semantics of AVPacket.duration.
Originally committed as revision 15178 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d3ce0792c2
commit
a82630deb2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue