Function ff_update_cur_dts

Source
pub unsafe extern "C" fn ff_update_cur_dts(
    s: *mut AVFormatContext,
    ref_st: *mut AVStream,
    timestamp: i64,
)
Expand description

Update cur_dts of all streams based on the given timestamp and AVStream.

Stream ref_st unchanged, others set cur_dts in their native time base. Only needed for timestamp wrapping or if (dts not set and pts!=dts). @param timestamp new dts expressed in time_base of param ref_st @param ref_st reference stream giving time_base of param timestamp