# include "config.h"
#endif
+#define __STDC_CONSTANT_MACROS 1
+#include <inttypes.h>
+
#include <vlc/vlc.h>
#include <vlc_aout.h>
#include <vlc_vout.h>
Interface::~Interface()
{
- if( timer ) delete timer;
- if( video ) delete video;
+ delete timer;
+ delete video;
}
BOOL Interface::InitInstance()
_("Compiled by ") + VLC_CompileBy() + "@" +
VLC_CompileHost() + "." + VLC_CompileDomain() + ".\n" +
_("Compiler: ") + VLC_Compiler() + ".\n" +
- _("Based on SVN revision: ") + VLC_Changeset() + ".\n\n" +
+ _("Based on Git commit: ") + VLC_Changeset() + ".\n\n" +
_("The VideoLAN team <videolan@videolan.org>\n"
"http://www.videolan.org/");
vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST, FIND_ANYWHERE );
if( p_playlist == NULL ) return;
- if( p_playlist->i_size && p_playlist->i_enabled )
+ if( p_playlist->i_size )
{
vlc_value_t state;
var_Set( p_input, "position", pos );
}
- p_intf->p_sys->b_slider_free = VLC_TRUE;
+ p_intf->p_sys->b_slider_free = true;
}
else
{
- p_intf->p_sys->b_slider_free = VLC_FALSE;
+ p_intf->p_sys->b_slider_free = false;
if( p_input )
{
if( LOWORD(wp) == SB_THUMBPOSITION || LOWORD(wp) == SB_ENDSCROLL )
{
VolumeChange( 200 - (int)dwPos );
- b_volume_hold = VLC_FALSE;
+ b_volume_hold = false;
}
else
{
- b_volume_hold = VLC_TRUE;
+ b_volume_hold = true;
}
}
if( p_input == NULL ) return;
- vlc_value_t val; val.b_bool = VLC_TRUE;
+ vlc_value_t val; val.b_bool = true;
var_Set( p_input, "rate-slower", val );
vlc_object_release( p_input );
}
if( p_input == NULL ) return;
- vlc_value_t val; val.b_bool = VLC_TRUE;
+ vlc_value_t val; val.b_bool = true;
var_Set( p_input, "rate-faster", val );
vlc_object_release( p_input );
}