[vlc-commits] commit: Fixed filter_chain_MouseFilter when multiple video filters are used . (Laurent Aimar )
git at videolan.org
git at videolan.org
Mon Oct 25 20:41:55 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Oct 24 17:57:57 2010 +0200| [03d6f6f26bfa2dbdfbf0d47c1b05d17d06f1d37a] | committer: Laurent Aimar
Fixed filter_chain_MouseFilter when multiple video filters are used.
Ths mouse events must be filtered backward.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03d6f6f26bfa2dbdfbf0d47c1b05d17d06f1d37a
---
src/misc/filter_chain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index cbf553e..998e318 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -310,7 +310,7 @@ int filter_chain_MouseFilter( filter_chain_t *p_chain, vlc_mouse_t *p_dst, const
{
vlc_mouse_t current = *p_src;
- for( chained_filter_t *f = p_chain->first; f != NULL; f = f->next )
+ for( chained_filter_t *f = p_chain->last; f != NULL; f = f->prev )
{
filter_t *p_filter = &f->filter;
vlc_mouse_t *p_mouse = f->mouse;
More information about the vlc-commits
mailing list