ObjectWrap.checkUniqueness

bool checkUniqueness(gst.object.ObjectWrap[] list, string name)

Checks to see if there is any object named name in list. This function does not do any locking of any kind. You might want to protect the provided list with the lock of the owner of the list. This function will lock each #GstObject in the list to compare the name, so be careful when passing a list with a locked object.

Parameters

lista list of #GstObject to check through
namethe name to search for

Returns

true if a #GstObject named name does not appear in list,

false if it does.

MT safe. Grabs and releases the LOCK of each object in the list.