mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-07 00:43:29 +08:00
do not mention Unref() in the docs where not applicable
This commit is contained in:
@@ -93,7 +93,7 @@ func NewElementMany(elemNames ...string) ([]*Element, error) {
|
||||
// ElementFactory wraps the GstElementFactory
|
||||
type ElementFactory struct{ *PluginFeature }
|
||||
|
||||
// Find returns the factory for the given plugin, or nil if it doesn't exist. Unref after usage.
|
||||
// Find returns the factory for the given plugin, or nil if it doesn't exist.
|
||||
func Find(name string) *ElementFactory {
|
||||
cName := C.CString(name)
|
||||
defer C.free(unsafe.Pointer(cName))
|
||||
|
Reference in New Issue
Block a user