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

vout: remove write-only mouse_event

parent d07142d4
Pipeline #220917 failed with stage
in 17 minutes and 21 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;
......@@ -1593,8 +1591,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;
......@@ -1778,9 +1774,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;
......
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