Skip to main content

last_error

Function last_error 

Source
unsafe fn last_error(
    funcs: &NV_ENCODE_API_FUNCTION_LIST,
    session: *mut c_void,
) -> String
Expand description

The driver’s message for the last failure on session, or a stand-in when it has none: NVENC clears the string once a session is torn down, so it is only meaningful read straight after the call that failed.