aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-04-28 13:07:52 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-04-28 13:07:52 +0000
commit25406e50028216ea15a6a2f8243c574541aecd6a (patch)
treedc3dd4e690eab696a537321bbf6657f06303d85e
parent6e42e6c4b410dbef8b593c2d796a5dad95f89ee4 (diff)
downloadffmpeg-25406e50028216ea15a6a2f8243c574541aecd6a.tar.gz
fix AVStream documentation: clarify start_time, start_time and duration are actually in stream base
Originally committed as revision 8855 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avformat.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 76ccb51848..2c8f8e9c3a 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -306,11 +306,9 @@ typedef struct AVStream {
/** quality, as it has been removed from AVCodecContext and put in AVVideoFrame
* MN:dunno if thats the right place, for it */
float quality;
- /** decoding: position of the first frame of the component, in
- AV_TIME_BASE fractional seconds. */
+ /** decoding: pts of the first frame of the stream, in stream time base. */
int64_t start_time;
- /** decoding: duration of the stream, in AV_TIME_BASE fractional
- seconds. */
+ /** decoding: duration of the stream, in stream time base. */
int64_t duration;
char language[4]; /** ISO 639 3-letter language code (empty string if undefined) */