[][src]Function ffmpeg_dev::sys::ff_parse_creation_time_metadata

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

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