Commit df6fda46 authored by Olivier Aubert's avatar Olivier Aubert

python: use new function libvlc_errmsg (reported by Xitij Patel <xitij.patel@xitijpatel.com>)

parent e08aa3c9
......@@ -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; \
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment