buffer_list_replace


Description:


[ Version ( replacement = "BufferList.replace" , since = "1.16" ) ]
public bool buffer_list_replace (ref BufferList? old_list, BufferList? new_list)

Modifies a pointer to a BufferList to point to a different BufferList.

The modification is done atomically (so this is useful for ensuring thread safety in some cases), and the reference counts are updated appropriately (the old buffer list is unreffed, the new is reffed).

Either new_list or the BufferList pointed to by old_list may be null.

Parameters:

old_list

pointer to a pointer to a BufferList to be replaced.

new_list

pointer to a BufferList that will replace the buffer list pointed to by old_list.

Returns:

true if new_list was different from old_list


Namespace: Gst
Package: gstreamer-1.0