-
Notifications
You must be signed in to change notification settings - Fork 42
Description
While diagnosing a memory leak in my GStreamer app, I found the documentation of gst_app_sink_pull_sample notes that the resulting sample is a transfer:full response, and that we need to call gst_sample_unref to clean it up.
It doesn't seem like there is a way to call this unref() function. It doesnt exist in the typings provided by @girs/node-gst-1.0 or by casting the class to any and then directly calling the function on Gst.Sample.unref()
This is also true for a few classes that have a similar pattern (Gst.Buffer, Gst.Memory and Gst.Caps)
Since this isnt generated for the typings and doesnt seem to be recognised by node-gtk at all, this says to me that I'm missing something here.
Is there a way to call this function either directly or by manipulating the reference using GObject functions?