Gst.Buffer.prototype.foreach_meta

function foreach_meta(func:Gst.BufferForeachMetaFunc):Boolean {
    // Gjs wrapper for gst_buffer_foreach_meta()
}

Call func with user_data for each meta in buffer.

func can modify the passed meta pointer or its contents. The return value of func define if this function returns or if the remaining metadata items in the buffer should be skipped.

func

a Gst.BufferForeachMetaFunc to call

Returns

false when func returned false for one of the metadata.