Function ff_parse_creation_time_metadata

Source
pub unsafe extern "C" fn ff_parse_creation_time_metadata(
    s: *mut AVFormatContext,
    timestamp: *mut i64,
    return_seconds: c_int,
) -> c_int
Expand description

Parse creation_time in AVFormatContext metadata if exists and warn if the parsing fails.

@param s AVFormatContext @param timestamp parsed timestamp in microseconds, only set on successful parsing @param return_seconds set this to get the number of seconds in timestamp instead of microseconds @return 1 if OK, 0 if the metadata was not present, AVERROR(EINVAL) on parse error