[MPlayer-cvslog] r33317 - trunk/command.c

reimar subversion at mplayerhq.hu
Sat Apr 23 18:48:37 CEST 2011


Author: reimar
Date: Sat Apr 23 18:48:36 2011
New Revision: 33317

Log:
Fix DVD angle cycling up.
Patch by 侯红勋 [houhongxun gmail com]

Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	Sat Apr 23 18:41:11 2011	(r33316)
+++ trunk/command.c	Sat Apr 23 18:48:36 2011	(r33317)
@@ -573,6 +573,8 @@ static int mp_property_angle(m_option_t 
         angle += step;
         if (angle < 1) //cycle
             angle = angles;
+        else if (angle > angles)
+            angle = 1;
         break;
     }
     default:


More information about the MPlayer-cvslog mailing list