[vlc-commits] filter: remove filter_chain_MouseEvent() no-op

Rémi Denis-Courmont git at videolan.org
Wed May 15 19:36:25 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 15 20:26:33 2019 +0300| [250654ce54dacca213d7fb1dd7d685ddac0765d2] | committer: Rémi Denis-Courmont

filter: remove filter_chain_MouseEvent() no-op

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=250654ce54dacca213d7fb1dd7d685ddac0765d2
---

 include/vlc_filter.h                | 9 ---------
 src/libvlccore.sym                  | 1 -
 src/misc/filter_chain.c             | 7 -------
 src/video_output/vout_subpictures.c | 6 ------
 4 files changed, 23 deletions(-)

diff --git a/include/vlc_filter.h b/include/vlc_filter.h
index 57b7d4c799..331a2e3454 100644
--- a/include/vlc_filter.h
+++ b/include/vlc_filter.h
@@ -452,15 +452,6 @@ VLC_API subpicture_t *filter_chain_SubFilter(filter_chain_t *chain,
 VLC_API int filter_chain_MouseFilter( filter_chain_t *, struct vlc_mouse_t *,
                                       const struct vlc_mouse_t * );
 
-/**
- * Inform the filter chain of mouse state.
- *
- * It makes sense only for a sub source chain.
- */
-VLC_API int filter_chain_MouseEvent( filter_chain_t *,
-                                     const struct vlc_mouse_t *,
-                                     const video_format_t * );
-
 int filter_chain_ForEach( filter_chain_t *chain,
                           int (*cb)( filter_t *, void * ), void *opaque );
 
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 1cbbfe72f6..efc07fbb25 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -110,7 +110,6 @@ filter_chain_DeleteFilter
 filter_chain_GetFmtOut
 filter_chain_IsEmpty
 filter_chain_MouseFilter
-filter_chain_MouseEvent
 filter_chain_NewVideo
 filter_chain_Reset
 filter_chain_SubFilter
diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index 9f9b739fb0..59823c287f 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -501,13 +501,6 @@ int filter_chain_MouseFilter( filter_chain_t *p_chain, vlc_mouse_t *p_dst, const
     return VLC_SUCCESS;
 }
 
-int filter_chain_MouseEvent( filter_chain_t *p_chain,
-                             const vlc_mouse_t *p_mouse,
-                             const video_format_t *p_fmt )
-{
-    return VLC_SUCCESS;
-}
-
 /* Helpers */
 static void FilterDeletePictures( picture_t *picture )
 {
diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 6b106534d3..b7c967ae0a 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -1511,12 +1511,6 @@ int spu_ProcessMouse(spu_t *spu,
                      const vlc_mouse_t *mouse,
                      const video_format_t *fmt)
 {
-    spu_private_t *sys = spu->p;
-
-    vlc_mutex_lock(&sys->source_chain_lock);
-    filter_chain_MouseEvent(sys->source_chain, mouse, fmt);
-    vlc_mutex_unlock(&sys->source_chain_lock);
-
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list