Mercurial > mplayer.hg
changeset 36263:ea4c4dbae852
Cosmetic: Adjust indent.
author | ib |
---|---|
date | Sat, 13 Jul 2013 19:48:12 +0000 |
parents | 703a51ce08c8 |
children | bf9a9e07377a |
files | gui/interface.c gui/win32/gui.c |
diffstat | 2 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Sat Jul 13 19:45:12 2013 +0000 +++ b/gui/interface.c Sat Jul 13 19:48:12 2013 +0000 @@ -639,7 +639,7 @@ /* video */ - guiInfo.sh_video = data; + guiInfo.sh_video = data; guiInfo.VideoAspect = 0; nfree(guiInfo.CodecName);
--- a/gui/win32/gui.c Sat Jul 13 19:45:12 2013 +0000 +++ b/gui/win32/gui.c Sat Jul 13 19:48:12 2013 +0000 @@ -476,18 +476,18 @@ if (guiInfo.VideoAspect == 0) guiInfo.VideoAspect = guiInfo.sh_video->aspect; switch (LOWORD(wParam)) { - case ID_ASPECT1: - aspect = 16.0f / 9.0f; - break; - case ID_ASPECT2: - aspect = 4.0f / 3.0f; - break; - case ID_ASPECT3: - aspect = 2.35; - break; - default: - aspect = guiInfo.VideoAspect; - break; + case ID_ASPECT1: + aspect = 16.0f / 9.0f; + break; + case ID_ASPECT2: + aspect = 4.0f / 3.0f; + break; + case ID_ASPECT3: + aspect = 2.35; + break; + default: + aspect = guiInfo.VideoAspect; + break; } snprintf(cmd, sizeof(cmd), "switch_ratio %f", aspect); mp_input_queue_cmd(mp_input_parse_cmd(cmd));