pull in upstream interface improvements and add a few more gstreamer interfaces

This commit is contained in:
Avi Zimmerman
2021-01-18 08:50:34 +02:00
parent 1427ab6b64
commit 546d620440
23 changed files with 969 additions and 292 deletions

View File

@@ -72,11 +72,11 @@ func (m *Message) String() string {
case MessageStructureChange:
chgType, elem, busy := m.ParseStructureChange()
msg += fmt.Sprintf("Structure change of type %s from %s. (in progress: %v)", chgType.String(), elem.Name(), busy)
msg += fmt.Sprintf("Structure change of type %s from %s. (in progress: %v)", chgType.String(), elem.GetName(), busy)
case MessageStreamStatus:
statusType, elem := m.ParseStreamStatus()
msg += fmt.Sprintf("Stream status from %s: %s", elem.Name(), statusType.String())
msg += fmt.Sprintf("Stream status from %s: %s", elem.GetName(), statusType.String())
case MessageApplication:
msg += "Message posted by the application, possibly via an application-specific element."
@@ -165,7 +165,7 @@ func (m *Message) String() string {
if obj != nil && propVal != nil {
goval, err := propVal.GoValue()
if err != nil {
msg += fmt.Sprintf("Object %s had property '%s' changed to %+v", obj.Name(), propName, goval)
msg += fmt.Sprintf("Object %s had property '%s' changed to %+v", obj.GetName(), propName, goval)
}
}