Commit a2e0adec authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

vout: remove write-only mouse_event

parent 6bfaa528
Pipeline #222049 passed with stages
in 35 minutes and 40 seconds
......@@ -133,8 +133,6 @@ typedef struct vout_thread_sys_t
/* */
vlc_mouse_t mouse;
vlc_mouse_event mouse_event;
void *mouse_opaque;
/* Video output window */
bool window_enabled;
......@@ -1595,8 +1593,6 @@ static int vout_Start(vout_thread_sys_t *vout, vlc_video_context *vctx, const vo
vout_display_window_SetMouseHandler(sys->display_cfg.window,
cfg->mouse_event, cfg->mouse_opaque);
vlc_mutex_unlock(&sys->window_lock);
sys->mouse_event = cfg->mouse_event;
sys->mouse_opaque = cfg->mouse_opaque;
sys->decoder_fifo = picture_fifo_New();
sys->private.display_pool = NULL;
......@@ -1801,9 +1797,6 @@ static void vout_ReleaseDisplay(vout_thread_sys_t *vout)
vout_display_window_SetMouseHandler(sys->display_cfg.window, NULL, NULL);
vlc_mutex_unlock(&sys->window_lock);
if (sys->mouse_event)
sys->mouse_event = NULL;
if (sys->spu)
spu_Detach(sys->spu);
sys->clock = NULL;
......
Supports Markdown
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