do not mention Unref() in the docs where not applicable

This commit is contained in:
RSWilli
2024-06-24 10:58:08 +02:00
parent 0f5ee09329
commit 0f1a6e152f
24 changed files with 46 additions and 88 deletions

View File

@@ -42,7 +42,7 @@ func (d *Device) CreateElement(name string) *Element {
return FromGstElementUnsafeNone(unsafe.Pointer(elem))
}
// GetCaps returns the caps that this device supports. Unref after usage.
// GetCaps returns the caps that this device supports.
func (d *Device) GetCaps() *Caps {
caps := C.gst_device_get_caps(d.Instance())
if caps == nil {