[FFmpeg-devel] [PATCH] frame: add a time_base field

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Sep 7 20:36:54 EEST 2021


Lynne:
> This adds a time_base field (currently unused), analogue to the 
> AVPacket.time_base field.
> 
> Patch attached. doc/APIchanges and version bump to be done at push time.
> 

> +    /**

> +     * Time base for the timestamps in this frame. May be 0, in which case the

> +     * time_base from the frame source should be used.

> +     */

> +    AVRational time_base;

> +

Does the pkt_duration count as timestamp or not?

- Andreas


More information about the ffmpeg-devel mailing list