diff options
author | MaZderMind <peter@mazdermind.de> | 2014-08-31 10:13:16 +0200 |
---|---|---|
committer | MaZderMind <peter@mazdermind.de> | 2014-08-31 10:13:16 +0200 |
commit | 45e1dcfed9b2d10985382e7e89f5a2c828d174a7 (patch) | |
tree | a0868674a47aeca8363596d2f2aa3b276b38e637 /voctocore/lib | |
parent | 14be298e81954080f089ea219c1b3c687c6def18 (diff) |
show debug output from gst element
Diffstat (limited to 'voctocore/lib')
-rw-r--r-- | voctocore/lib/shmsrc.py | 4 |
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) |