Mercurial > mplayer.hg
diff gui/win32/gui.c @ 36272:aa0011dfbfdc
Use again special value -1 to set original aspect ratio.
With -1, the switch_ratio command does exactly the calculation
being performed here.
This reverts changes in setting the value for the aspect ratio
made in r36358 and r36360.
author | ib |
---|---|
date | Sat, 27 Jul 2013 22:25:57 +0000 |
parents | bf9a9e07377a |
children | ba5fa3e71247 |
line wrap: on
line diff
--- a/gui/win32/gui.c Sat Jul 27 21:16:06 2013 +0000 +++ b/gui/win32/gui.c Sat Jul 27 22:25:57 2013 +0000 @@ -485,7 +485,7 @@ aspect = 2.35; break; default: - aspect = (float) guiInfo.sh_video->disp_w / guiInfo.sh_video->disp_h; + aspect = -1; break; } snprintf(cmd, sizeof(cmd), "switch_ratio %f", aspect);