From 5f6ded0ebde824d4f8eb45ea6e0ef0695f2ea612 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sun, 25 Mar 2007 14:47:41 +0000 Subject: [PATCH] Gestures: Fix two dead locks when changing audio track and subtitle track when there is no such track. --- modules/control/gestures.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/control/gestures.c b/modules/control/gestures.c index fa45a75add..d796919a17 100644 --- a/modules/control/gestures.c +++ b/modules/control/gestures.c @@ -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++ ) { -- 2.39.2