[vlc-commits] ncurses: remove cargo cultivated vlc_object_alive()

Rémi Denis-Courmont git at videolan.org
Sun Mar 24 17:53:12 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 24 18:45:07 2013 +0200| [0005aed62b1c6f9d969dbf20815cf03dda054090] | committer: Rémi Denis-Courmont

ncurses: remove cargo cultivated vlc_object_alive()

The ncurses thread is stuck in getch(). Checking vlc_object_alive()
does not solve anything.

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

 modules/gui/ncurses.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 40b36bf..158f517 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1764,7 +1764,7 @@ static void *Run(void *data)
     var_AddCallback(p_playlist, "item-change", ItemChanged, intf);
     var_AddCallback(p_playlist, "playlist-item-append", PlaylistChanged, intf);
 
-    while (vlc_object_alive(intf) && !sys->exit) {
+    while (!sys->exit) {
         UpdateInput(sys, p_playlist);
         Redraw(intf);
         HandleKey(intf);



More information about the vlc-commits mailing list