diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c index fbdacc55f6b459c91956f6a18297bc76ae9e1a1d..c941a3ded9053f23dd3bb18a7e57fb655275f331 100644 --- a/src/video_output/video_output.c +++ b/src/video_output/video_output.c @@ -1396,11 +1396,6 @@ static void ThreadProcessMouseState(vout_thread_t *vout, /* Translate window coordinates to video coordinates */ vout_display_TranslateMouseState(vout->p->display, &vid_mouse, win_mouse); - /* Let SPU handle the mouse */ - if (likely(vout->p->spu != NULL) - && spu_ProcessMouse(vout->p->spu, &vid_mouse, &vout->p->display->source)) - return; - /* Then pass up the filter chains. */ m = &vid_mouse; vlc_mutex_lock(&vout->p->filter.lock); diff --git a/src/video_output/vout_internal.h b/src/video_output/vout_internal.h index 129d0993cf7b5d99328cee1177b22c2fa108d97a..b11fadeeaac525e6ab83285e76966aa922445ff5 100644 --- a/src/video_output/vout_internal.h +++ b/src/video_output/vout_internal.h @@ -263,7 +263,6 @@ void vout_CloseWrapper(vout_thread_t *); /* */ void vout_SetSubpictureClock(vout_thread_t *vout, vlc_clock_t *clock); -int spu_ProcessMouse(spu_t *, const vlc_mouse_t *, const video_format_t *); void spu_Attach( spu_t *, input_thread_t *input ); void spu_Detach( spu_t * ); void spu_clock_Set(spu_t *, vlc_clock_t *); diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c index b7c967ae0a530b10867a3751c46d91d0e2bd847e..6f915c179d9928147021476ce306f0157a73e1ff 100644 --- a/src/video_output/vout_subpictures.c +++ b/src/video_output/vout_subpictures.c @@ -1504,16 +1504,6 @@ void spu_clock_SetDelay(spu_t *spu, vlc_tick_t delay) vlc_clock_SetDelay(spu->p->clock, delay); } -/** - * Inform the SPU filters of mouse event - */ -int spu_ProcessMouse(spu_t *spu, - const vlc_mouse_t *mouse, - const video_format_t *fmt) -{ - return VLC_SUCCESS; -} - /** * Display a subpicture *