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

Paul B Mahol onemda at gmail.com
Tue Sep 7 20:48:03 EEST 2021


On Tue, Sep 7, 2021 at 7:37 PM Andreas Rheinhardt <
andreas.rheinhardt at outlook.com> wrote:

> 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?
>

While here please add frame duration too.


>
> - Andreas
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list