finish GstTagList, GstToc, setters, and add auto go type conversion for functions taking gvalues

This commit is contained in:
tinyzimmer
2020-10-02 10:38:17 +03:00
parent 0d0a974156
commit e586f0262e
9 changed files with 639 additions and 28 deletions

View File

@@ -87,7 +87,7 @@ func (s *Structure) SetValue(key string, value interface{}) error {
}
cKey := C.CString(key)
defer C.free(unsafe.Pointer(cKey))
C.gst_structure_set_value(s.Instance(), cKey, (*C.GValue)(gVal.GetPointer()))
C.gst_structure_set_value(s.Instance(), cKey, (*C.GValue)(unsafe.Pointer(gVal.GValue)))
return nil
}