Commit 866ee8d7 authored by Rémi Duraffort's avatar Rémi Duraffort

ncurses: don't lock to times (no need to lock here).

parent 72fa5a9d
...@@ -393,7 +393,6 @@ static void Run( intf_thread_t *p_intf ) ...@@ -393,7 +393,6 @@ static void Run( intf_thread_t *p_intf )
msleep( INTF_IDLE_SLEEP ); msleep( INTF_IDLE_SLEEP );
/* Update the input */ /* Update the input */
PL_LOCK;
if( p_sys->p_input == NULL ) if( p_sys->p_input == NULL )
{ {
p_sys->p_input = playlist_CurrentInput( p_playlist ); p_sys->p_input = playlist_CurrentInput( p_playlist );
...@@ -405,7 +404,6 @@ static void Run( intf_thread_t *p_intf ) ...@@ -405,7 +404,6 @@ static void Run( intf_thread_t *p_intf )
p_sys->f_slider = p_sys->f_slider_old = 0.0; p_sys->f_slider = p_sys->f_slider_old = 0.0;
p_sys->b_box_cleared = false; p_sys->b_box_cleared = false;
} }
PL_UNLOCK;
if( p_sys->b_box_plidx_follow && playlist_CurrentPlayingItem(p_playlist) ) if( p_sys->b_box_plidx_follow && playlist_CurrentPlayingItem(p_playlist) )
{ {
......
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