player should handle unicode pathnames correctly now

--HG--
extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%40202
This commit is contained in:
adrian.sampson 2009-04-12 01:52:07 +00:00
parent 4b7119855e
commit 428a1b61f6

View file

@ -90,7 +90,7 @@ class GstPlayer(object):
path.
"""
self.player.set_state(gst.STATE_NULL)
self.player.set_property("uri", "file://" + path)
self.player.set_property("uri", ("file://" + path).encode('utf-8'))
self.player.set_state(gst.STATE_PLAYING)
self.playing = True