diff mbox series

[FFmpeg-devel] packet: add description for the AVPacket.time_base field

Message ID Mq1FrKU--3-2@lynne.ee
State Accepted
Commit 3f3772e4443c980b65e80859fdaaf3970f6c7fe4
Headers show
Series [FFmpeg-devel] packet: add description for the AVPacket.time_base field | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Lynne Dec. 3, 2021, 9:46 p.m. UTC
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;
```
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 mbox series

Patch

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;