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
1 changed files with 3 additions and 0 deletions

View File

@ -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;