diff gui/interface.c @ 36863:8c331bcef482

Get rid of VOCTRL_GUI_NOWINDOW. Change GUI code that determines whether the video window should be visible in principle during playback.
author ib
date Sat, 01 Mar 2014 14:59:22 +0000
parents 1078b8dd7625
children c17524b27039
line wrap: on
line diff
--- a/gui/interface.c	Sat Mar 01 14:48:21 2014 +0000
+++ b/gui/interface.c	Sat Mar 01 14:59:22 2014 +0000
@@ -482,15 +482,13 @@
         {
             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;
                     }
-                }
             }
         }