]> git.sesse.net Git - vlc/commitdiff
python bindings: fix compilation
authorOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Mon, 30 Jun 2008 17:24:16 +0000 (19:24 +0200)
committerOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Mon, 30 Jun 2008 17:24:16 +0000 (19:24 +0200)
bindings/python/vlc_mediaplayer.c

index 7aeb747d22f41d2ad7f739c84ec8d4d9111af5e7..f01cb3def78dba14cfb4f4480b24c7c16493c3bb 100644 (file)
@@ -30,7 +30,7 @@ static PyObject *
 vlcMediaPlayer_get_length( PyObject *self, PyObject *args )
 {
     libvlc_exception_t ex;
-    vlc_int64_t i_ret;
+    int64_t i_ret;
     LIBVLC_TRY;
     i_ret = libvlc_media_player_get_length( LIBVLC_MEDIAPLAYER->p_mp, &ex);
     LIBVLC_EXCEPT;
@@ -41,7 +41,7 @@ static PyObject *
 vlcMediaPlayer_get_time( PyObject *self, PyObject *args )
 {
     libvlc_exception_t ex;
-    vlc_int64_t i_ret;
+    int64_t i_ret;
     LIBVLC_TRY;
     i_ret = libvlc_media_player_get_time( LIBVLC_MEDIAPLAYER->p_mp, &ex);
     LIBVLC_EXCEPT;
@@ -52,7 +52,7 @@ static PyObject *
 vlcMediaPlayer_set_time( PyObject *self, PyObject *args )
 {
     libvlc_exception_t ex;
-    vlc_int64_t i_time;
+    int64_t i_time;
 
     if( !PyArg_ParseTuple( args, "L", &i_time ) )
         return NULL;