Commit 469b0d8d authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix a refcount issue in the OSD core

parent c7a43817
......@@ -60,9 +60,11 @@ void vout_OSDIcon( vlc_object_t *p_caller, int i_channel, short i_type )
if( !p_vout ) return;
if( p_vout && config_GetInt( p_caller, "osd" ) )
if( 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 );
}
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