diff options
Diffstat (limited to 'TurtleArt/tagplay.py')
-rw-r--r-- | TurtleArt/tagplay.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TurtleArt/tagplay.py b/TurtleArt/tagplay.py index 2fc6919..9e9f821 100644 --- a/TurtleArt/tagplay.py +++ b/TurtleArt/tagplay.py @@ -235,9 +235,8 @@ 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: - if hasattr(self.player.props, 'stream_info_value_array'): - self.emit('stream-info', - self.player.props.stream_info_value_array) + self.emit('stream-info', + self.player.props.stream_info_value_array) # else: # logging.debug(message.type) |