Function av_thread_message_queue_set_err_send
pub unsafe extern "C" fn av_thread_message_queue_set_err_send(
mq: *mut AVThreadMessageQueue,
err: i32,
)
Expand description
Set the sending error code.
If the error code is set to non-zero, av_thread_message_queue_send() will return it immediately. Conventional values, such as AVERROR_EOF or AVERROR(EAGAIN), can be used to cause the sending thread to stop or suspend its operation.