diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-25 21:16:52 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-25 21:16:52 +0000 |
commit | 5c6bf0cfe75cdb3496cde1dc8918df4feb111505 (patch) | |
tree | da054027d184956f0aa51c82bc1e2194ec1d1584 | |
parent | be1d649e96f1379b3012a331d0a744f6a6c4b807 (diff) | |
download | mpv-5c6bf0cfe75cdb3496cde1dc8918df4feb111505.tar.bz2 mpv-5c6bf0cfe75cdb3496cde1dc8918df4feb111505.tar.xz |
switch_ratio -1 slave command restores aspect ratio to default value (geexbox patch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18822 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4223,7 +4223,7 @@ if(step_sec>0) { } break; case MP_CMD_SWITCH_RATIO : { - if (cmd->nargs == 0) + if (cmd->nargs == 0 || cmd->args[0].v.f == -1) movie_aspect = (float) sh_video->disp_w / sh_video->disp_h; else movie_aspect = cmd->args[0].v.f; |