[−][src]Function x264_dev::sys::x264_encoder_headers
pub unsafe fn x264_encoder_headers(
arg1: *mut X264T,
pp_nal: *mut *mut X264NalT,
pi_nal: *mut c_int
) -> c_int
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.