summaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore')
-rw-r--r--voctocore/lib/shmsrc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/voctocore/lib/shmsrc.py b/voctocore/lib/shmsrc.py
index 7c80199..3b7a6a4 100644
--- a/voctocore/lib/shmsrc.py
+++ b/voctocore/lib/shmsrc.py
@@ -64,7 +64,9 @@ class FailsafeShmSrc(Gst.Bin):
def do_handle_message(self, msg):
if msg.type == Gst.MessageType.ERROR and msg.src == self.shmsrc:
- self.log.warning('received error-message from ShmSrc, dropping')
+ (err, debug) = msg.parse_error()
+ self.log.warning('received error-message from ShmSrc, dropping: %s', err)
+ self.log.debug(' debug-info from shmsrc: %s', debug)
else:
Gst.Bin.do_handle_message(self, msg)