mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-06 16:36:51 +08:00
do not mention Unref() in the docs where not applicable
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user