mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-12 19:30:46 +08:00
pull in upstream interface improvements and add a few more gstreamer interfaces
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user