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