]> git.sesse.net Git - vlc/blobdiff - src/control/mediacontrol_core.c
Replace libvlc_exception_get_message with libvlc_errmsg
[vlc] / src / control / mediacontrol_core.c
index 240c93fb7dc9b1498cdfd78dac1557cb5d14a508..9281ac06eb95e6292ca4703e0824c4ec572cdb59 100644 (file)
@@ -349,8 +349,7 @@ mediacontrol_get_stream_information( mediacontrol_Instance *self,
     if( libvlc_exception_raised( &ex ) )
     {
         free( retval );
-        RAISE( mediacontrol_InternalException,
-               libvlc_exception_get_message( &ex ) );
+        RAISE( mediacontrol_InternalException, libvlc_errmsg( ) );
         libvlc_exception_clear( &ex );
         return NULL;
     }
@@ -371,8 +370,7 @@ mediacontrol_get_stream_information( mediacontrol_Instance *self,
         if( libvlc_exception_raised( &ex ) )
         {
             free( retval );
-            RAISE( mediacontrol_InternalException,
-                   libvlc_exception_get_message( &ex ) );
+            RAISE( mediacontrol_InternalException, libvlc_errmsg() );
             libvlc_exception_clear( &ex );
             return NULL;
         }