Function x264_encoder_headers

Source
pub unsafe fn x264_encoder_headers(
    arg1: *mut X264T,
    pp_nal: *mut *mut X264NalT,
    pi_nal: *mut c_int,
) -> c_int
Expand description

return the SPS and PPS that will be used for the whole stream.

*pi_nal is the number of NAL units outputted in pp_nal. returns the number of bytes in the returned NALs. returns negative on error. the payloads of all output NALs are guaranteed to be sequential in memory.