mirror of https://github.com/mpv-player/mpv
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:
parent
cc1b58e348
commit
b7c7318352
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue