From df6fda46d49099fc712b159449280d9cf7aa0a7e Mon Sep 17 00:00:00 2001 From: Olivier Aubert Date: Thu, 3 Sep 2009 10:56:35 +0200 Subject: [PATCH] python: use new function libvlc_errmsg (reported by Xitij Patel ) --- bindings/python/vlcglue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/vlcglue.h b/bindings/python/vlcglue.h index d5f604c4ec..5211645729 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; \ } -- 2.39.2