X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcontrol%2Fgestures.c;h=d81b4e9446eb9900dd601412a05d9ad504ea15ef;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=81e778b56d8eeba343a275ee9a6a32698e8dc663;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/modules/control/gestures.c b/modules/control/gestures.c index 81e778b56d..d81b4e9446 100644 --- a/modules/control/gestures.c +++ b/modules/control/gestures.c @@ -136,10 +136,10 @@ static input_thread_t * input_from_playlist ( playlist_t *p_playlist ) { input_thread_t * p_input; - PL_LOCK; - p_input = p_playlist->p_input; - if( p_input ) - vlc_object_yield( p_input ); + PL_LOCK; + p_input = p_playlist->p_input; + if( p_input ) + vlc_object_yield( p_input ); PL_UNLOCK; return p_input; @@ -229,10 +229,10 @@ static void RunIntf( intf_thread_t *p_intf ) p_input = input_from_playlist( p_playlist ); vlc_object_release( p_playlist ); - + if( !p_input ) break; - + val.i_int = PLAYING_S; if( p_input ) { @@ -404,7 +404,7 @@ static void RunIntf( intf_thread_t *p_intf ) } else { - var_Set( p_input, "spu-es", + var_Set( p_input, "spu-es", list.p_list->p_values[i+1] ); i = i + 1; }