query_take


Description:


[ Version ( replacement = "Query.take" , since = "1.16" ) ]
public bool query_take (ref Query? old_query, owned Query? new_query)

Modifies a pointer to a Query to point to a different Query.

This function is similar to gst_query_replace except that it takes ownership of new_query.

Either new_query or the Query pointed to by old_query may be null.

Parameters:

old_query

pointer to a pointer to a Query to be stolen.

new_query

pointer to a Query that will replace the query pointed to by old_query .

Returns:

true if new_query was different from old_query


Namespace: Gst
Package: gstreamer-1.0