[MPlayer-cvslog] r33739 - in trunk: gui/interface.c gui/interface.h gui/win32/interface.c libvo/video_out.c libvo/vo_dxr3.c libvo/vo_xover.c
ib
subversion at mplayerhq.hu
Mon Jun 27 13:23:22 CEST 2011
Author: ib
Date: Mon Jun 27 13:23:21 2011
New Revision: 33739
Log:
Rename guiGetEvent type guiSetShVideo guiSetVideo.
Modified:
trunk/gui/interface.c
trunk/gui/interface.h
trunk/gui/win32/interface.c
trunk/libvo/video_out.c
trunk/libvo/vo_dxr3.c
trunk/libvo/vo_xover.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Mon Jun 27 12:46:25 2011 (r33738)
+++ trunk/gui/interface.c Mon Jun 27 13:23:21 2011 (r33739)
@@ -615,7 +615,7 @@ int guiGetEvent(int type, void *arg)
guiInfo.afilter = arg;
break;
- case guiSetShVideo:
+ case guiSetVideo:
if (!guiApp.subWindow.isFullScreen) {
wsResizeWindow(&guiApp.subWindow, vo_dwidth, vo_dheight);
Modified: trunk/gui/interface.h
==============================================================================
--- trunk/gui/interface.h Mon Jun 27 12:46:25 2011 (r33738)
+++ trunk/gui/interface.h Mon Jun 27 13:23:21 2011 (r33739)
@@ -43,7 +43,7 @@ extern int use_gui; // this
#define guiSetFileName 4
#define guiSetAudioOnly 6
#define guiReDrawSubWindow 7
-#define guiSetShVideo 8
+#define guiSetVideo 8
#define guiSetStream 9
#define guiReDraw 10
#define guiSetVolume 11
Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c Mon Jun 27 12:46:25 2011 (r33738)
+++ trunk/gui/win32/interface.c Mon Jun 27 13:23:21 2011 (r33739)
@@ -614,7 +614,7 @@ int guiGetEvent(int type, void *arg)
}
break;
}
- case guiSetShVideo:
+ case guiSetVideo:
{
guiInfo.MovieWidth = vo_dwidth;
guiInfo.MovieHeight = vo_dheight;
Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c Mon Jun 27 12:46:25 2011 (r33738)
+++ trunk/libvo/video_out.c Mon Jun 27 13:23:21 2011 (r33739)
@@ -372,7 +372,7 @@ int config_video_out(const vo_functions_
#ifdef CONFIG_GUI
if (use_gui) {
// GUI creates and manages window for us
- guiGetEvent(guiSetShVideo, 0);
+ guiGetEvent(guiSetVideo, 0);
}
#endif
}
Modified: trunk/libvo/vo_dxr3.c
==============================================================================
--- trunk/libvo/vo_dxr3.c Mon Jun 27 12:46:25 2011 (r33738)
+++ trunk/libvo/vo_dxr3.c Mon Jun 27 13:23:21 2011 (r33739)
@@ -491,7 +491,7 @@ static int config(uint32_t width, uint32
vo_dheight = d_height;
#ifdef CONFIG_GUI
if (use_gui)
- guiGetEvent(guiSetShVideo, 0);
+ guiGetEvent(guiSetVideo, 0);
#endif
XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &xwin_attribs);
depth = xwin_attribs.depth;
Modified: trunk/libvo/vo_xover.c
==============================================================================
--- trunk/libvo/vo_xover.c Mon Jun 27 12:46:25 2011 (r33738)
+++ trunk/libvo/vo_xover.c Mon Jun 27 13:23:21 2011 (r33739)
@@ -269,7 +269,7 @@ static int config(uint32_t width, uint32
vo_dwidth=d_width; vo_dheight=d_height;
#ifdef CONFIG_GUI
- if(use_gui) guiGetEvent( guiSetShVideo,0 ); // the GUI will set up / resize the window
+ if(use_gui) guiGetEvent( guiSetVideo,0 ); // the GUI will set up / resize the window
else
{
#endif
More information about the MPlayer-cvslog
mailing list