summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-08-18 00:35:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-18 00:35:43 +0000
commite26381b6da2436764492fb868bd8f6f27e99ce6e (patch)
treef03f03707b609f9bf3a53625e6871d378c73ccfa
parent4854c253a492645fe8a0ff509b46d75e82049bb1 (diff)
more verbose doxy for duration (from patch by neilb suse de)
Originally committed as revision 10136 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avformat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 62cb68086f..7e57d8899b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -317,7 +317,11 @@ typedef struct AVStream {
* demuxer must NOT set this
*/
int64_t start_time;
- /** decoding: duration of the stream, in stream time base. */
+ /**
+ * decoding: duration of the stream, in stream time base.
+ * If a source file does not specify a duration, but does specify
+ * a bitrate, this value will be estimates from bit rate and file size.
+ */
int64_t duration;
char language[4]; /** ISO 639 3-letter language code (empty string if undefined) */