Example #1
0
func (m *Message) GetStructure() (string, glib.Params) {
	s := C.gst_message_get_structure(m.g())
	if s == nil {
		return "", nil
	}
	return parseGstStructure(s)
}
Example #2
0
// GetStructure() is a wrapper around gst_message_get_structure().
func (v *Message) GetStructure() *Structure {
	c := C.gst_message_get_structure(v.native())
	s := &Structure{}
	s.fromGstStructure(c)
	return s
}