[vlc-devel] commit: python: use new function libvlc_errmsg (reported by Xitij Patel < xitij.patel at xitijpatel.com>) (Olivier Aubert )
git version control
git at videolan.org
Thu Sep 3 10:57:45 CEST 2009
vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Thu Sep 3 10:56:35 2009 +0200| [df6fda46d49099fc712b159449280d9cf7aa0a7e] | committer: Olivier Aubert
python: use new function libvlc_errmsg (reported by Xitij Patel <xitij.patel at xitijpatel.com>)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df6fda46d49099fc712b159449280d9cf7aa0a7e
---
bindings/python/vlcglue.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bindings/python/vlcglue.h b/bindings/python/vlcglue.h
index d5f604c..5211645 100644
--- a/bindings/python/vlcglue.h
+++ b/bindings/python/vlcglue.h
@@ -143,7 +143,7 @@ staticforward PyTypeObject vlcMedia_Type;
#define LIBVLC_EXCEPT if( libvlc_exception_raised( &ex ) ) { \
PyObject *py_exc = vlc_Exception; \
- PyErr_SetString( py_exc, libvlc_exception_get_message( &ex ) ); \
+ PyErr_SetString( py_exc, libvlc_errmsg() ); \
return NULL; \
}
More information about the vlc-devel
mailing list