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

@@ -40,7 +40,7 @@ var ErrEOS = errors.New("pipeline has reached end-of-stream")
// Sink wraps an Element made with the appsink plugin with additional methods for pulling samples.
type Sink struct{ *base.GstBaseSink }
// NewAppSink returns a new appsink element. Unref after usage.
// NewAppSink returns a new appsink element.
func NewAppSink() (*Sink, error) {
elem, err := gst.NewElement("appsink")
if err != nil {