This description documents the field. Thanks to elenril for 
suggesting the phrasing.

Patch attached, but it's literally 3 lines:
```
     /** 
      * 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;
```
>From de811776a83bb8e29335663d580f0c44cb4ce72d Mon Sep 17 00:00:00 2001
From: Lynne <d...@lynne.ee>
Date: Fri, 3 Dec 2021 22:43:38 +0100
Subject: [PATCH] packet: add description for the AVPacket.time_base field

This description documents the field. Thanks to elenril for
suggesting the phrasing.
---
 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;
-- 
2.34.0

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

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

Reply via email to