[vlc-devel] commit: python bindings: rename some files (Olivier Aubert )

git version control git at videolan.org
Wed Apr 23 19:39:17 CEST 2008


vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Wed Apr 23 15:01:08 2008 +0200| [66fc00162f3f69e55bd84e7501d966b578b37c21]

python bindings: rename some files

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66fc00162f3f69e55bd84e7501d966b578b37c21
---

 .../python/{vlc_mediadescriptor.c => vlc_media.c}  |    2 +-
 bindings/python/{vlc_input.c => vlc_mediaplayer.c} |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bindings/python/vlc_mediadescriptor.c b/bindings/python/vlc_media.c
similarity index 99%
rename from bindings/python/vlc_mediadescriptor.c
rename to bindings/python/vlc_media.c
index 955042a..d6e65b2 100644
--- a/bindings/python/vlc_mediadescriptor.c
+++ b/bindings/python/vlc_media.c
@@ -191,7 +191,7 @@ vlcMediaDescriptor_get_meta( PyObject *self, PyObject *args )
     }
     if( i_index < 0 )
     {
-        PyObject *py_exc = vlcInstance_Exception;
+        PyObject *py_exc = vlc_Exception;
         PyErr_SetString( py_exc, "Unknown meta attribute" );
         return NULL;
     }
diff --git a/bindings/python/vlc_input.c b/bindings/python/vlc_mediaplayer.c
similarity index 99%
rename from bindings/python/vlc_input.c
rename to bindings/python/vlc_mediaplayer.c
index 3961f63..b97d5b5 100644
--- a/bindings/python/vlc_input.c
+++ b/bindings/python/vlc_mediaplayer.c
@@ -467,7 +467,7 @@ vlcMediaInstance_set_media( PyObject *self, PyObject *args )
     }
     else
     {
-        PyObject *py_exc = vlcInstance_Exception;
+        PyObject *py_exc = vlc_Exception;
         PyErr_SetString( py_exc, "vlc.MediaDescriptor parameter needed" );
         return NULL;
     }




More information about the vlc-devel mailing list