1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

packet: add description for the AVPacket.time_base field

This description documents the field. Thanks to elenril for
suggesting the phrasing.
This commit is contained in:
Lynne 2021-12-03 22:43:38 +01:00
parent b5ba74053c
commit 3f3772e444
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464

View File

@ -410,6 +410,9 @@ typedef struct AVPacket {
/** /**
* Time base of the packet's timestamps. * 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; AVRational time_base;
} AVPacket; } AVPacket;