Commit 631ebd4e authored by Laurent Aimar's avatar Laurent Aimar

Set vout_display_info_t::has_event_thread for msw and xcb vouts.

parent 6c73ecd0
...@@ -167,6 +167,7 @@ static int Open(vlc_object_t *object) ...@@ -167,6 +167,7 @@ static int Open(vlc_object_t *object)
info.has_double_click = true; info.has_double_click = true;
info.has_hide_mouse = true; info.has_hide_mouse = true;
info.has_pictures_invalid = true; info.has_pictures_invalid = true;
info.has_event_thread = true;
/* Interaction */ /* Interaction */
vlc_mutex_init(&sys->lock); vlc_mutex_init(&sys->lock);
......
...@@ -222,6 +222,7 @@ static int Open(vlc_object_t *object) ...@@ -222,6 +222,7 @@ static int Open(vlc_object_t *object)
info.has_double_click = true; info.has_double_click = true;
info.has_hide_mouse = true; info.has_hide_mouse = true;
info.has_pictures_invalid = true; info.has_pictures_invalid = true;
info.has_event_thread = true;
/* Interaction TODO support starting with wallpaper mode */ /* Interaction TODO support starting with wallpaper mode */
vlc_mutex_init(&sys->lock); vlc_mutex_init(&sys->lock);
......
...@@ -135,6 +135,7 @@ static int Open(vlc_object_t *object) ...@@ -135,6 +135,7 @@ static int Open(vlc_object_t *object)
info.has_double_click = true; info.has_double_click = true;
info.has_hide_mouse = true; info.has_hide_mouse = true;
info.has_pictures_invalid = true; info.has_pictures_invalid = true;
info.has_event_thread = true;
/* Setup vout_display now that everything is fine */ /* Setup vout_display now that everything is fine */
vd->fmt = fmt; vd->fmt = fmt;
......
...@@ -377,6 +377,7 @@ static int Open (vlc_object_t *obj) ...@@ -377,6 +377,7 @@ static int Open (vlc_object_t *obj)
/* */ /* */
vout_display_info_t info = vd->info; vout_display_info_t info = vd->info;
info.has_pictures_invalid = false; info.has_pictures_invalid = false;
info.has_event_thread = true;
/* Setup vout_display_t once everything is fine */ /* Setup vout_display_t once everything is fine */
vd->info = info; vd->info = info;
......
...@@ -283,6 +283,7 @@ static int Open (vlc_object_t *obj) ...@@ -283,6 +283,7 @@ static int Open (vlc_object_t *obj)
/* */ /* */
vout_display_info_t info = vd->info; vout_display_info_t info = vd->info;
info.has_pictures_invalid = true; info.has_pictures_invalid = true;
info.has_event_thread = true;
/* Setup vout_display_t once everything is fine */ /* Setup vout_display_t once everything is fine */
vd->fmt = fmt_pic; vd->fmt = fmt_pic;
......
...@@ -520,6 +520,7 @@ static int Open (vlc_object_t *obj) ...@@ -520,6 +520,7 @@ static int Open (vlc_object_t *obj)
/* */ /* */
vout_display_info_t info = vd->info; vout_display_info_t info = vd->info;
info.has_pictures_invalid = false; info.has_pictures_invalid = false;
info.has_event_thread = true;
/* Setup vout_display_t once everything is fine */ /* Setup vout_display_t once everything is fine */
vd->fmt = fmt; vd->fmt = fmt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment