Commit cdd54aa0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont Committed by Rémi Denis-Courmont

Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.

This improves readability a lot and prevent us from reinventing the wheel.
parent cd37bb23
......@@ -218,7 +218,7 @@ RuntimeNPObject::InvokeResult LibvlcAudioNPObject::getProperty(int index, NPVari
{
case ID_audio_mute:
{
vlc_bool_t muted = libvlc_audio_get_mute(p_plugin->getVLC(), &ex);
bool muted = libvlc_audio_get_mute(p_plugin->getVLC(), &ex);
if( libvlc_exception_raised(&ex) )
{
NPN_SetException(this, libvlc_exception_get_message(&ex));
......@@ -544,7 +544,7 @@ RuntimeNPObject::InvokeResult LibvlcInputNPObject::getProperty(int index, NPVari
}
case ID_input_hasvout:
{
vlc_bool_t val = libvlc_media_player_has_vout(p_md, &ex);
bool val = libvlc_media_player_has_vout(p_md, &ex);
libvlc_media_player_release(p_md);
if( libvlc_exception_raised(&ex) )
{
......
......@@ -583,7 +583,7 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
libvlc_playlist_play(p_vlc, 0, 0, NULL, NULL);
}
}
p_plugin->b_stream = VLC_TRUE;
p_plugin->b_stream = true;
}
}
return NPERR_NO_ERROR;
......
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