Commit 5f6ded0e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Gestures: Fix two dead locks when changing audio track and subtitle track when...

Gestures: Fix two dead locks when changing audio track and subtitle track when there is no such track.
parent 8a95ee28
...@@ -323,7 +323,7 @@ static void RunIntf( intf_thread_t *p_intf ) ...@@ -323,7 +323,7 @@ static void RunIntf( intf_thread_t *p_intf )
if( i_count <= 1 ) if( i_count <= 1 )
{ {
vlc_object_release( p_input ); vlc_object_release( p_input );
continue; break;
} }
for( i = 0; i < i_count; i++ ) for( i = 0; i < i_count; i++ )
{ {
...@@ -382,7 +382,7 @@ static void RunIntf( intf_thread_t *p_intf ) ...@@ -382,7 +382,7 @@ static void RunIntf( intf_thread_t *p_intf )
if( i_count <= 1 ) if( i_count <= 1 )
{ {
vlc_object_release( p_input ); vlc_object_release( p_input );
continue; break;
} }
for( i = 0; i < i_count; i++ ) for( i = 0; i < i_count; i++ )
{ {
......
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