[vlc-devel] commit: ncurses: don't lock to times (no need to lock here). ( Rémi Duraffort )

git version control git at videolan.org
Sat Feb 14 09:30:12 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Feb 13 18:55:08 2009 +0100| [866ee8d7d3aaf3a38e94badd032bb705e67199ed] | committer: Rémi Duraffort 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=866ee8d7d3aaf3a38e94badd032bb705e67199ed
---

 modules/gui/ncurses.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index e5099b3..b11542f 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -393,7 +393,6 @@ static void Run( intf_thread_t *p_intf )
         msleep( INTF_IDLE_SLEEP );
 
         /* Update the input */
-        PL_LOCK;
         if( p_sys->p_input == NULL )
         {
             p_sys->p_input = playlist_CurrentInput( p_playlist );
@@ -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->b_box_cleared = false;
         }
-        PL_UNLOCK;
 
         if( p_sys->b_box_plidx_follow && playlist_CurrentPlayingItem(p_playlist) )
         {




More information about the vlc-devel mailing list