Function av_packet_rescale_ts
pub unsafe extern "C" fn av_packet_rescale_ts(
pkt: *mut AVPacket,
tb_src: AVRational,
tb_dst: AVRational,
)
Expand description
Convert valid timing fields (timestamps / durations) in a packet from one timebase to another. Timestamps with unknown values (AV_NOPTS_VALUE) will be ignored.
@param pkt packet on which the conversion will be performed @param tb_src source timebase, in which the timing fields in pkt are expressed @param tb_dst destination timebase, to which the timing fields will be converted