Commit df95b82f authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Adapting VLMC's code to libvlc's recent changes

parent 5a740e36
...@@ -48,7 +48,7 @@ void Exception::setErrorCallback( Exception::errorCallback handler, void* ...@@ -48,7 +48,7 @@ void Exception::setErrorCallback( Exception::errorCallback handler, void*
const char* Exception::getErrorText() const const char* Exception::getErrorText() const
{ {
return libvlc_exception_get_message( m_internalPtr ); return libvlc_errmsg();
} }
void Exception::clear() void Exception::clear()
......
...@@ -33,7 +33,7 @@ static bool catchVLCException( libvlc_exception_t *ex ) ...@@ -33,7 +33,7 @@ static bool catchVLCException( libvlc_exception_t *ex )
{ {
if ( libvlc_exception_raised( ex ) ) if ( libvlc_exception_raised( ex ) )
{ {
qDebug() << libvlc_exception_get_message( ex ); qDebug() << libvlc_errmsg();
libvlc_exception_clear( ex ); libvlc_exception_clear( ex );
return (true); return (true);
} }
......
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