Commit 1500023d authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Adapting VLMC's code to libvlc's recent changes

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