[vlc-commits] commit: Set vout_display_info_t::has_event_thread for msw and xcb vouts. ( Laurent Aimar )
git at videolan.org
git at videolan.org
Sun May 30 14:54:54 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun May 30 14:49:13 2010 +0200| [631ebd4ebf9eb8114db2830c0ff42b288cb5a0e8] | committer: Laurent Aimar
Set vout_display_info_t::has_event_thread for msw and xcb vouts.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=631ebd4ebf9eb8114db2830c0ff42b288cb5a0e8
---
modules/video_output/msw/direct3d.c | 1 +
modules/video_output/msw/directx.c | 1 +
modules/video_output/msw/glwin32.c | 1 +
modules/video_output/xcb/glx.c | 1 +
modules/video_output/xcb/x11.c | 1 +
modules/video_output/xcb/xvideo.c | 1 +
6 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index e374587..66be688 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -167,6 +167,7 @@ static int Open(vlc_object_t *object)
info.has_double_click = true;
info.has_hide_mouse = true;
info.has_pictures_invalid = true;
+ info.has_event_thread = true;
/* Interaction */
vlc_mutex_init(&sys->lock);
diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index e676b05..0418523 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -222,6 +222,7 @@ static int Open(vlc_object_t *object)
info.has_double_click = true;
info.has_hide_mouse = true;
info.has_pictures_invalid = true;
+ info.has_event_thread = true;
/* Interaction TODO support starting with wallpaper mode */
vlc_mutex_init(&sys->lock);
diff --git a/modules/video_output/msw/glwin32.c b/modules/video_output/msw/glwin32.c
index f120069..10d52d4 100644
--- a/modules/video_output/msw/glwin32.c
+++ b/modules/video_output/msw/glwin32.c
@@ -135,6 +135,7 @@ static int Open(vlc_object_t *object)
info.has_double_click = true;
info.has_hide_mouse = true;
info.has_pictures_invalid = true;
+ info.has_event_thread = true;
/* Setup vout_display now that everything is fine */
vd->fmt = fmt;
diff --git a/modules/video_output/xcb/glx.c b/modules/video_output/xcb/glx.c
index 4be6d0d..f67d9f6 100644
--- a/modules/video_output/xcb/glx.c
+++ b/modules/video_output/xcb/glx.c
@@ -377,6 +377,7 @@ static int Open (vlc_object_t *obj)
/* */
vout_display_info_t info = vd->info;
info.has_pictures_invalid = false;
+ info.has_event_thread = true;
/* Setup vout_display_t once everything is fine */
vd->info = info;
diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 225594b..dd28ca4 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -283,6 +283,7 @@ static int Open (vlc_object_t *obj)
/* */
vout_display_info_t info = vd->info;
info.has_pictures_invalid = true;
+ info.has_event_thread = true;
/* Setup vout_display_t once everything is fine */
vd->fmt = fmt_pic;
diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index ecb58ba..91c7931 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -520,6 +520,7 @@ static int Open (vlc_object_t *obj)
/* */
vout_display_info_t info = vd->info;
info.has_pictures_invalid = false;
+ info.has_event_thread = true;
/* Setup vout_display_t once everything is fine */
vd->fmt = fmt;
More information about the vlc-commits
mailing list