ffmpeg | branch: master | Lynne <d...@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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to