{
vout_thread_t *p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT,
FIND_ANYWHERE );
+
if( p_vout && ( config_GetInt( p_caller, "osd" ) || ( i_position >= 0 ) ) )
{
osd_Slider( p_caller, p_vout->p_spu, p_vout->render.i_width,
{
vout_thread_t *p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT,
FIND_ANYWHERE );
+
+ if( !p_vout ) return;
+
if( p_vout && config_GetInt( p_caller, "osd" ) )
{
osd_Icon( p_caller, p_vout->p_spu, p_vout->render.i_width,
p_vout->render.i_height, i_channel, i_type );
}
- vlc_object_release( p_vout );
}