예제 #1
0
파일: message.go 프로젝트: TribeMedia/gst
func (m *Message) GetStructure() (string, glib.Params) {
	s := C.gst_message_get_structure(m.g())
	if s == nil {
		return "", nil
	}
	return parseGstStructure(s)
}
예제 #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
}