]> git.sesse.net Git - vlc/commitdiff
Gestures: Fix two dead locks when changing audio track and subtitle track when there...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 25 Mar 2007 14:47:41 +0000 (14:47 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 25 Mar 2007 14:47:41 +0000 (14:47 +0000)
modules/control/gestures.c

index fa45a75addebc253356309dea360ae7068dae7c1..d796919a17bd65f3a51fe92f1dc0c8f1d6978f3d 100644 (file)
@@ -323,7 +323,7 @@ static void RunIntf( intf_thread_t *p_intf )
                    if( i_count <= 1 )
                    {
                        vlc_object_release( p_input );
-                       continue;
+                       break;
                    }
                    for( i = 0; i < i_count; i++ )
                    {
@@ -382,7 +382,7 @@ static void RunIntf( intf_thread_t *p_intf )
                     if( i_count <= 1 )
                     {
                         vlc_object_release( p_input );
-                        continue;
+                        break;
                     }
                     for( i = 0; i < i_count; i++ )
                     {