[MPlayer-cvslog] r36359 - in trunk/gui: interface.c win32/gui.c
ib
subversion at mplayerhq.hu
Sat Jul 13 21:48:12 CEST 2013
Author: ib
Date: Sat Jul 13 21:48:12 2013
New Revision: 36359
Log:
Cosmetic: Adjust indent.
Modified:
trunk/gui/interface.c
trunk/gui/win32/gui.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Sat Jul 13 21:45:12 2013 (r36358)
+++ trunk/gui/interface.c Sat Jul 13 21:48:12 2013 (r36359)
@@ -639,7 +639,7 @@ int gui(int what, void *data)
/* video */
- guiInfo.sh_video = data;
+ guiInfo.sh_video = data;
guiInfo.VideoAspect = 0;
nfree(guiInfo.CodecName);
Modified: trunk/gui/win32/gui.c
==============================================================================
--- trunk/gui/win32/gui.c Sat Jul 13 21:45:12 2013 (r36358)
+++ trunk/gui/win32/gui.c Sat Jul 13 21:48:12 2013 (r36359)
@@ -476,18 +476,18 @@ static LRESULT CALLBACK VideoProc(HWND h
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));
More information about the MPlayer-cvslog
mailing list