mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-06 00:17:00 +08:00
major rework of reference handling
This commit is contained in:
@@ -117,7 +117,7 @@ func glistToPadTemplateSlice(glist *C.GList) []*PadTemplate {
|
||||
out := make([]*PadTemplate, 0)
|
||||
l.FreeFull(func(item interface{}) {
|
||||
tmpl := item.(*C.GstPadTemplate)
|
||||
out = append(out, wrapPadTemplate(toGObject(unsafe.Pointer(tmpl))))
|
||||
out = append(out, FromGstPadTemplateUnsafeNone(unsafe.Pointer(tmpl)))
|
||||
})
|
||||
return out
|
||||
}
|
||||
|
Reference in New Issue
Block a user