On Tue, 7 Sep 2021, Lynne wrote:
7 Sept 2021, 19:36 by andreas.rheinha...@outlook.com:
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;
So how this is going to work? Will e.g. avcodec_send_frame check
the time base of the frame and recalculate pts/duration to the encoder
time base? Same goes for every function which is receiving frames?
Also I would like to point out that until the actual support for this is
added to the libraries I don't see why we should add this, because
sizeof(AVFrame) is not part of the ABI, so this can be added anytime.
Regards,
Marton
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".