Commit 8c31d06a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

zvbi: fix subpage "down"-key to not alternate between "signaled" and "subpage 1"

parent 72106895
......@@ -679,7 +679,7 @@ static int EventKey( vlc_object_t *p_this, char const *psz_cmd,
if( newval.i_int == '-' || newval.i_int == '+' )
{
vlc_mutex_lock( &p_sys->lock );
if( p_sys->i_wanted_subpage == VBI_ANY_SUBNO )
if( p_sys->i_wanted_subpage == VBI_ANY_SUBNO && newval.i_int == '+' )
p_sys->i_wanted_subpage = vbi_dec2bcd(1);
else if ( newval.i_int == '+' )
p_sys->i_wanted_subpage = vbi_add_bcd( p_sys->i_wanted_subpage, 1);
......
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