commit 90ddebab3f56c06175dd99b153383990434b9514
Author: Mathieu Virbel <mat@kivy.org>
Date:   Tue Sep 16 10:11:23 2014 +0200

    Fixes for Cython 0.21

diff --git a/kivy/lib/gstplayer/_gstplayer.pyx b/kivy/lib/gstplayer/_gstplayer.pyx
index f07af0b..aa29c11 100644
--- kivy/lib/gstplayer/_gstplayer.pyx
+++ kivy/lib/gstplayer/_gstplayer.pyx
@@ -207,7 +207,7 @@ cdef class GstPlayer:
             self.eos_cb()
 
     def load(self):
-        cdef char *c_uri
+        cdef bytes py_uri
 
         # if already loaded before, clean everything.
         if self.pipeline != NULL:
@@ -256,8 +256,8 @@ cdef class GstPlayer:
 
         # configure playbin
         g_object_set_int(self.pipeline, 'async-handling', 1)
-        c_uri = <bytes>self.uri.encode('utf-8')
-        g_object_set_void(self.playbin, 'uri', c_uri)
+        py_uri = <bytes>self.uri.encode('utf-8')
+        g_object_set_void(self.playbin, 'uri', <char *>py_uri)
 
         # attach the callback
         # NOTE no need to create a weakref here, as we manage to grab/release
