[MPlayer-cvslog] r29578 - trunk/libvo/osx_common.c

reimar subversion at mplayerhq.hu
Fri Aug 28 16:38:44 CEST 2009


Author: reimar
Date: Fri Aug 28 16:38:44 2009
New Revision: 29578

Log:
Make aspect switching work again (used the wrong variable and always
switched to the original aspect).

Modified:
   trunk/libvo/osx_common.c

Modified: trunk/libvo/osx_common.c
==============================================================================
--- trunk/libvo/osx_common.c	Fri Aug 28 16:02:32 2009	(r29577)
+++ trunk/libvo/osx_common.c	Fri Aug 28 16:38:44 2009	(r29578)
@@ -58,7 +58,7 @@ void change_movie_aspect(float new_aspec
     if (new_aspect < 0)
         new_aspect = old_movie_aspect;
     our_aspect_change = 1;
-    snprintf(cmd_str, sizeof(cmd_str), "switch_ratio %f", old_movie_aspect);
+    snprintf(cmd_str, sizeof(cmd_str), "switch_ratio %f", new_aspect);
     mp_input_queue_cmd(mp_input_parse_cmd(cmd_str));
 }
 


More information about the MPlayer-cvslog mailing list