[FFmpeg-cvslog] packet: add description for the AVPacket.time_base field
Lynne
git at videolan.org
Mon Dec 6 23:16:39 EET 2021
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Fri Dec 3 22:43:38 2021 +0100| [3f3772e4443c980b65e80859fdaaf3970f6c7fe4] | committer: Lynne
packet: add description for the AVPacket.time_base field
This description documents the field. Thanks to elenril for
suggesting the phrasing.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3f3772e4443c980b65e80859fdaaf3970f6c7fe4
---
libavcodec/packet.h | 3 +++
1 file changed, 3 insertions(+)
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;
More information about the ffmpeg-cvslog
mailing list