X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcontrol%2Fmediacontrol_internal.h;h=f248a8b61f69c7d78800659226fffd70a79974d6;hb=83b4e8360bcb89dfbd1f773a92fcde9e024a98ac;hp=3e741ea02f88dc06fbf007b243ce79787f9f64d3;hpb=e996cbefaf0f8db55513071b9678242e0a7733da;p=vlc diff --git a/src/control/mediacontrol_internal.h b/src/control/mediacontrol_internal.h index 3e741ea02f..f248a8b61f 100644 --- a/src/control/mediacontrol_internal.h +++ b/src/control/mediacontrol_internal.h @@ -61,17 +61,17 @@ mediacontrol_RGBPicture *private_mediacontrol_createRGBPicture( int, int, long, #define RAISE_VOID( c, m ) do{ RAISE( c, m ); return; } while(0) #define HANDLE_LIBVLC_EXCEPTION_VOID( e ) if( libvlc_exception_raised( e ) ) { \ - RAISE( mediacontrol_InternalException, libvlc_exception_get_message( e )); \ + RAISE( mediacontrol_InternalException, libvlc_errmsg()); \ libvlc_exception_clear( e ); \ return; } #define HANDLE_LIBVLC_EXCEPTION_NULL( e ) if( libvlc_exception_raised( e ) ) { \ - RAISE( mediacontrol_InternalException, libvlc_exception_get_message( e )); \ + RAISE( mediacontrol_InternalException, libvlc_errmsg()); \ libvlc_exception_clear( e ); \ return NULL; } #define HANDLE_LIBVLC_EXCEPTION_ZERO( e ) if( libvlc_exception_raised( e ) ) { \ - RAISE( mediacontrol_InternalException, libvlc_exception_get_message( e )); \ + RAISE( mediacontrol_InternalException, libvlc_errmsg()); \ libvlc_exception_clear( e ); \ return 0; }