[MPlayer-cvslog] r36959 - in trunk: gui/interface.c libvo/video_out.h libvo/vo_dxr3.c
ib
subversion at mplayerhq.hu
Sat Mar 1 15:59:22 CET 2014
Author: ib
Date: Sat Mar 1 15:59:22 2014
New Revision: 36959
Log:
Get rid of VOCTRL_GUI_NOWINDOW.
Change GUI code that determines whether the video window
should be visible in principle during playback.
Modified:
trunk/gui/interface.c
trunk/libvo/video_out.h
trunk/libvo/vo_dxr3.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Sat Mar 1 15:48:21 2014 (r36958)
+++ trunk/gui/interface.c Sat Mar 1 15:59:22 2014 (r36959)
@@ -482,15 +482,13 @@ int gui(int what, void *data)
{
int i = 0;
- guiInfo.VideoWindow = True;
+ guiInfo.VideoWindow = False;
while (video_out_drivers[i++]) {
- if (video_out_drivers[i - 1]->control(VOCTRL_GUISUPPORT, NULL) == VO_TRUE) {
- if ((video_driver_list && !gstrcmp(video_driver_list[0], video_out_drivers[i - 1]->info->short_name)) && (video_out_drivers[i - 1]->control(VOCTRL_GUI_NOWINDOW, NULL) == VO_TRUE)) {
- guiInfo.VideoWindow = False;
+ if ((video_driver_list && !gstrcmp(video_driver_list[0], video_out_drivers[i - 1]->info->short_name)) && (video_out_drivers[i - 1]->control(VOCTRL_GUISUPPORT, NULL) == VO_TRUE)) {
+ guiInfo.VideoWindow = True;
break;
}
- }
}
}
Modified: trunk/libvo/video_out.h
==============================================================================
--- trunk/libvo/video_out.h Sat Mar 1 15:48:21 2014 (r36958)
+++ trunk/libvo/video_out.h Sat Mar 1 15:59:22 2014 (r36959)
@@ -51,7 +51,6 @@
#define VOCTRL_RESET 3
/* true if vo driver can use GUI created windows */
#define VOCTRL_GUISUPPORT 4
-#define VOCTRL_GUI_NOWINDOW 19
/* used to switch to fullscreen */
#define VOCTRL_FULLSCREEN 5
/* signal a device pause */
@@ -71,7 +70,6 @@
/* equalizer controls */
#define VOCTRL_SET_EQUALIZER 17
#define VOCTRL_GET_EQUALIZER 18
-//#define VOCTRL_GUI_NOWINDOW 19
/* Frame duplication */
#define VOCTRL_DUPLICATE_FRAME 20
// ... 21
Modified: trunk/libvo/vo_dxr3.c
==============================================================================
--- trunk/libvo/vo_dxr3.c Sat Mar 1 15:48:21 2014 (r36958)
+++ trunk/libvo/vo_dxr3.c Sat Mar 1 15:59:22 2014 (r36959)
@@ -182,11 +182,6 @@ static int control(uint32_t request, voi
switch (request) {
case VOCTRL_GUISUPPORT:
return dxr3_overlay ? VO_TRUE : VO_FALSE;
- case VOCTRL_GUI_NOWINDOW:
- if (dxr3_overlay) {
- return VO_FALSE;
- }
- return VO_TRUE;
case VOCTRL_SET_SPU_PALETTE:
if (ioctl(fd_spu, EM8300_IOCTL_SPU_SETPALETTE, data) < 0) {
mp_msg(MSGT_VO,MSGL_ERR, MSGTR_LIBVO_DXR3_UnableToLoadNewSPUPalette);
More information about the MPlayer-cvslog
mailing list