summaryrefslogtreecommitdiff
path: root/libavcodec/packet.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2021-12-03 22:43:38 +0100
committerLynne <dev@lynne.ee>2021-12-06 22:16:13 +0100
commit3f3772e4443c980b65e80859fdaaf3970f6c7fe4 (patch)
treea72bd8a5d5a310e534cbddd177357645d204d9d5 /libavcodec/packet.h
parentb5ba74053c1ef9f38d9e7b3a036675f06d2b2714 (diff)
packet: add description for the AVPacket.time_base field
This description documents the field. Thanks to elenril for suggesting the phrasing.
Diffstat (limited to 'libavcodec/packet.h')
-rw-r--r--libavcodec/packet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/packet.h b/libavcodec/packet.h
index 9baff24635..4a349fe051 100644
--- a/libavcodec/packet.h
+++ b/libavcodec/packet.h
@@ -410,6 +410,9 @@ typedef struct AVPacket {
/**
* Time base of the packet's timestamps.
+ * In the future, this field may be set on packets output by encoders or
+ * demuxers, but its value will be by default ignored on input to decoders
+ * or muxers.
*/
AVRational time_base;
} AVPacket;