From b7c73183522c766c8079ae083f86a1680725c8fc Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 28 Aug 2009 14:38:44 +0000 Subject: Make aspect switching work again (used the wrong variable and always switched to the original aspect). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29578 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/osx_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/osx_common.c') diff --git a/libvo/osx_common.c b/libvo/osx_common.c index 5eb64fa56b..642fa9e4da 100644 --- a/libvo/osx_common.c +++ b/libvo/osx_common.c @@ -58,7 +58,7 @@ void change_movie_aspect(float new_aspect) 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)); } -- cgit v1.2.3