From e7e4d1d8022a012d03dffec728a9a276c4717bf4 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 23 Apr 2011 16:48:36 +0000 Subject: commands: Fix DVD angle cycling up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by 侯红勋 [houhongxun gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33317 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'command.c') diff --git a/command.c b/command.c index 48f6108a2c..1e54327d44 100644 --- a/command.c +++ b/command.c @@ -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: -- cgit v1.2.3