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
This commit is contained in:
reimar 2009-08-28 14:38:44 +00:00
parent cc1b58e348
commit b7c7318352
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}