]> git.sesse.net Git - vlc/commitdiff
Called vout_display_DeleteWindow(vd, NULL) for vout display not using vout window.
authorLaurent Aimar <fenrir@videolan.org>
Thu, 20 May 2010 21:14:02 +0000 (23:14 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 20 May 2010 21:51:26 +0000 (23:51 +0200)
modules/video_output/aa.c
modules/video_output/caca.c
modules/video_output/directfb.c
modules/video_output/fb.c
modules/video_output/macosx.m
modules/video_output/sdl.c

index 925ecb3ad4fd4ba9e2993398e02a228f9b5c5659..5c446284ec5e0505d755ac7f72289190814cbe3d 100644 (file)
@@ -97,6 +97,7 @@ static int Open(vlc_object_t *object)
         msg_Err(vd, "cannot initialize aalib");
         goto error;
     }
+    vout_display_DeleteWindow(vd, NULL);
 
     aa_autoinitkbd(sys->aa_context, 0);
     aa_autoinitmouse(sys->aa_context, AA_MOUSEALLMASK);
index 63a0d0fc9406d73e3e1ec6148aa5cbc5c0d9d5f3..6de1ca19a27898fd10f6947bd3a7eecb2d6bb392 100644 (file)
@@ -153,6 +153,7 @@ static int Open(vlc_object_t *object)
         msg_Err(vd, "cannot initialize libcaca");
         goto error;
     }
+    vout_display_DeleteWindow(vd, NULL);
 
     if (vd->cfg->display.title)
         caca_set_display_title(sys->dp,
index 1fc57d5138045ab324ca4b7410406c7a33f710c2..fd18cbbe905f1378d8b8187f4f88579eced8b12f 100644 (file)
@@ -108,6 +108,7 @@ static int Open(vlc_object_t *object)
         Close(VLC_OBJECT(vd));
         return VLC_EGENERIC;
     }
+    vout_display_DeleteWindow(vd, NULL);
 
     /* */
     video_format_t fmt = vd->fmt;
index 1426ad9babaa69eea8f0842656ceb7cb6c7dcfa6..7e25456d7b9325dd4b84ed654891a5274195ba26 100644 (file)
@@ -251,6 +251,7 @@ static int Open(vlc_object_t *object)
         Close(VLC_OBJECT(vd));
         return VLC_EGENERIC;
     }
+    vout_display_DeleteWindow(vd, NULL);
 
     /* */
     video_format_t fmt = vd->fmt;
index 3394a77edea26ced7d39182d998d76793c86adb8..0fdcaf41cc0ade3a2b40b24d6675300f27163528 100644 (file)
@@ -127,6 +127,7 @@ static int Open(vlc_object_t *this)
         msg_Dbg(vd, "No drawable-nsobject, passing over.");
         goto error;
     }
+    vout_display_DeleteWindow(vd, NULL);
 
     /* This will be released in Close(), on
      * main thread, after we are done using it. */
index ea78cfe285667ca8ac42d089a8dc914815803520..17448a0e7634a2ae21c93718916ccff4d4a94f55 100644 (file)
@@ -180,6 +180,7 @@ static int Open(vlc_object_t *object)
         msg_Err(vd, "no video mode available");
         goto error;
     }
+    vout_display_DeleteWindow(vd, NULL);
 
     sys->display = SDL_SetVideoMode(display_width, display_height,
                                     sys->display_bpp, sys->display_flags);