[MPlayer-cvslog] r35839 - trunk/gui/ui/actions.c
ib
subversion at mplayerhq.hu
Wed Jan 23 18:22:41 CET 2013
Author: ib
Date: Wed Jan 23 18:22:40 2013
New Revision: 35839
Log:
Remove unnecessary setting of uiVideoRender.
For the playing state, it's already done in the video window's
redraw handler, and if !guiInfo.Playing, it's true anyway.
Modified:
trunk/gui/ui/actions.c
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Wed Jan 23 18:10:33 2013 (r35838)
+++ trunk/gui/ui/actions.c Wed Jan 23 18:22:40 2013 (r35839)
@@ -84,7 +84,6 @@ void uiPlay(void)
}
gui(GUI_SET_STATE, (void *)GUI_PLAY);
- uiVideoRender = False;
}
/**
@@ -199,10 +198,8 @@ void uiChangeSkin(char *name)
if (guiApp.video.Bitmap.Image)
wsImageRender(&guiApp.videoWindow, guiApp.video.Bitmap.Image);
- if (!guiInfo.Playing) {
- uiVideoRender = True;
+ if (!guiInfo.Playing)
wsWindowRedraw(&guiApp.videoWindow);
- }
/* reload playbar */
More information about the MPlayer-cvslog
mailing list