跳到主要内容

av_thread_message_flush

搜索

函数 av_thread_message_flush 

源代码
pub unsafe extern "C" fn av_thread_message_flush(
    mq: *mut AVThreadMessageQueue,
)
展开描述

Flush the message queue

This function is mostly equivalent to reading and free-ing every message except that it will be done in a single operation (no lock/unlock between reads).