# HG changeset patch # User reimar # Date 1251470324 0 # Node ID 1e432b300e57244b318938f029638ab0190d3436 # Parent b2f841a1905ecb93a4e067839b2aa8361ccff2cc Make aspect switching work again (used the wrong variable and always switched to the original aspect). diff -r b2f841a1905e -r 1e432b300e57 libvo/osx_common.c --- 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)); }