diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-28 14:38:44 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-28 14:38:44 +0000 |
commit | b7c73183522c766c8079ae083f86a1680725c8fc (patch) | |
tree | 4f6d769e42a4d591fcf0c945614cfb18a28d64ba | |
parent | cc1b58e34874b0ad16a4e6999c6b07cbe94aef83 (diff) | |
download | mpv-b7c73183522c766c8079ae083f86a1680725c8fc.tar.bz2 mpv-b7c73183522c766c8079ae083f86a1680725c8fc.tar.xz |
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
-rw-r--r-- | libvo/osx_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |