Commit a516ab36 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed the updateInfoPanel crash

This also 'fixes' RTSP playback crashes (#2742)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 5cc5daf2
......@@ -1572,8 +1572,10 @@ static void manage_cleanup( void * args )
{
playlist_t * p_playlist = pl_Hold( p_intf );
PL_LOCK;
[[self info] updatePanelWithItem: playlist_CurrentPlayingItem( p_playlist )->p_input];
playlist_item_t * p_item = playlist_CurrentPlayingItem( p_playlist );
PL_UNLOCK;
if( p_item )
[[self info] updatePanelWithItem: p_item->p_input];
pl_Release( p_intf );
}
}
......
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