Send control message from device to application.
@param s device context. @param type message type. @param data message data. Can be NULL. @param data_size size of message data. @return >= 0 on success, negative on error. AVERROR(ENOSYS) when application doesn't implement handler of the message.
See Implementation
Send control message from device to application.
@param s device context. @param type message type. @param data message data. Can be NULL. @param data_size size of message data. @return >= 0 on success, negative on error. AVERROR(ENOSYS) when application doesn't implement handler of the message.