Commit 60ce39b7 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed the updateInfoPanel crash

This also 'fixes' RTSP playback crashes (#2742)
parent 7d56c120
...@@ -1572,8 +1572,10 @@ static void manage_cleanup( void * args ) ...@@ -1572,8 +1572,10 @@ static void manage_cleanup( void * args )
{ {
playlist_t * p_playlist = pl_Hold( p_intf ); playlist_t * p_playlist = pl_Hold( p_intf );
PL_LOCK; PL_LOCK;
[[self info] updatePanelWithItem: playlist_CurrentPlayingItem( p_playlist )->p_input]; playlist_item_t * p_item = playlist_CurrentPlayingItem( p_playlist );
PL_UNLOCK; PL_UNLOCK;
if( p_item )
[[self info] updatePanelWithItem: p_item->p_input];
pl_Release( p_intf ); 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