OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3ce079
)
Try to clarify the semantics of AVPacket.duration.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 3 Sep 2008 14:02:17 +0000
(14:02 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 3 Sep 2008 14:02:17 +0000
(14:02 +0000)
Originally committed as revision 15178 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avformat.h
patch
|
blob
|
history
diff --git
a/libavformat/avformat.h
b/libavformat/avformat.h
index
efe6c2b
..
e0cb811
100644
(file)
--- a/
libavformat/avformat.h
+++ b/
libavformat/avformat.h
@@
-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