Commit 9565131c authored by Clément Stenac's avatar Clément Stenac

Fix refcount problem

parent 3875235f
...@@ -113,14 +113,11 @@ void FileInfo::Update() ...@@ -113,14 +113,11 @@ void FileInfo::Update()
{ {
item_info->Clear(); item_info->Clear();
stats_info->Clear(); stats_info->Clear();
if ( p_input )
{
vlc_object_release(p_input);
}
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
return; return;
} }
vlc_object_yield( p_input );
vlc_mutex_lock( &p_input->input.p_item->lock ); vlc_mutex_lock( &p_input->input.p_item->lock );
if( b_need_update == VLC_TRUE ) if( b_need_update == VLC_TRUE )
{ {
......
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