[vlc-commits] commit: Called vout_display_DeleteWindow(vd, NULL) for vout display not using vout window. (Laurent Aimar )
git at videolan.org
git at videolan.org
Thu May 20 23:53:22 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu May 20 23:14:02 2010 +0200| [710b39fa1171600d86706da279b6da2155eb0061] | committer: Laurent Aimar
Called vout_display_DeleteWindow(vd, NULL) for vout display not using vout window.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=710b39fa1171600d86706da279b6da2155eb0061
---
modules/video_output/aa.c | 1 +
modules/video_output/caca.c | 1 +
modules/video_output/directfb.c | 1 +
modules/video_output/fb.c | 1 +
modules/video_output/macosx.m | 1 +
modules/video_output/sdl.c | 1 +
6 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/aa.c b/modules/video_output/aa.c
index 925ecb3..5c44628 100644
--- a/modules/video_output/aa.c
+++ b/modules/video_output/aa.c
@@ -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);
diff --git a/modules/video_output/caca.c b/modules/video_output/caca.c
index 63a0d0f..6de1ca1 100644
--- a/modules/video_output/caca.c
+++ b/modules/video_output/caca.c
@@ -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,
diff --git a/modules/video_output/directfb.c b/modules/video_output/directfb.c
index 1fc57d5..fd18cbb 100644
--- a/modules/video_output/directfb.c
+++ b/modules/video_output/directfb.c
@@ -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;
diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c
index 1426ad9..7e25456 100644
--- a/modules/video_output/fb.c
+++ b/modules/video_output/fb.c
@@ -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;
diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 3394a77..0fdcaf4 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -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. */
diff --git a/modules/video_output/sdl.c b/modules/video_output/sdl.c
index ea78cfe..17448a0 100644
--- a/modules/video_output/sdl.c
+++ b/modules/video_output/sdl.c
@@ -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);
More information about the vlc-commits
mailing list