changeset 29536:1e432b300e57

Make aspect switching work again (used the wrong variable and always switched to the original aspect).
author reimar
date Fri, 28 Aug 2009 14:38:44 +0000
parents b2f841a1905e
children 5ec1be895a96
files libvo/osx_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/osx_common.c	Fri Aug 28 14:02:32 2009 +0000
+++ b/libvo/osx_common.c	Fri Aug 28 14:38:44 2009 +0000
@@ -58,7 +58,7 @@
     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));
 }