Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tagplay.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-10-07 12:21:28 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-10-07 12:21:28 (GMT)
commit27ba932b53f2ea3f11d2d43c3eb77b708da4bdb7 (patch)
treefac6bcb72942347ce36f77ed5b1df293f03bed62 /TurtleArt/tagplay.py
parent869685b9747d48a128fd25ebf93b78324d3eb58a (diff)
resync with v191
Diffstat (limited to 'TurtleArt/tagplay.py')
-rw-r--r--TurtleArt/tagplay.py5
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)