commands: Fix DVD angle cycling up

Patch by 侯红勋 [houhongxun gmail com]

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33317 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2011-04-23 16:48:36 +00:00 committed by Uoti Urpala
parent e631474c76
commit e7e4d1d802
1 changed files with 2 additions and 0 deletions

View File

@ -605,6 +605,8 @@ static int mp_property_angle(m_option_t *prop, int action, void *arg,
angle += step;
if (angle < 1) //cycle
angle = angles;
else if (angle > angles)
angle = 1;
break;
}
default: