diff options
Diffstat (limited to 'TurtleArt/tagplay.py')
-rw-r--r-- | TurtleArt/tagplay.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TurtleArt/tagplay.py b/TurtleArt/tagplay.py index 9e9f821..2fc6919 100644 --- a/TurtleArt/tagplay.py +++ b/TurtleArt/tagplay.py @@ -235,8 +235,9 @@ class GstPlayer(gobject.GObject): elif t == gst.MESSAGE_STATE_CHANGED: old, new, pen = message.parse_state_changed() if old == gst.STATE_READY and new == gst.STATE_PAUSED: - self.emit('stream-info', - self.player.props.stream_info_value_array) + if hasattr(self.player.props, 'stream_info_value_array'): + self.emit('stream-info', + self.player.props.stream_info_value_array) # else: # logging.debug(message.type) |