Commit 432bf431 authored by Rémi Duraffort's avatar Rémi Duraffort

xosd: simplification.

parent b3bfa5ad
......@@ -274,10 +274,6 @@ static void Run( intf_thread_t *p_intf )
continue;
}
input_item_t *p_input = p_item->p_input;
vlc_gc_incref( p_input );
PL_UNLOCK;
pl_Release( p_intf );
mtime_t i_duration = input_item_GetDuration( p_input );
if( i_duration != -1 )
......@@ -290,7 +286,8 @@ static void Run( intf_thread_t *p_intf )
else
psz_display = strdup( p_input->psz_name );
vlc_gc_decref( p_input );
PL_UNLOCK;
pl_Release( p_intf );
}
/* Display */
......
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