message_take


Description:


[ Version ( replacement = "Message.take" , since = "1.16" ) ]
public bool message_take (ref Message old_message, owned Message? new_message)

Modifies a pointer to a Message to point to a different Message.

This function is similar to gst_message_replace except that it takes ownership of new_message.

Parameters:

old_message

pointer to a pointer to a Message to be replaced.

new_message

pointer to a Message that will replace the message pointed to by old_message.

Returns:

true if new_message was different from old_message


Namespace: Gst
Package: gstreamer-1.0