[vlc-commits] vout: remove write-only mouse-object variable
Rémi Denis-Courmont
git at videolan.org
Sat Jun 18 14:27:17 CEST 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun 18 12:54:13 2016 +0300| [c615d75cd39eccaa1652965915076098dc7c5b49] | committer: Rémi Denis-Courmont
vout: remove write-only mouse-object variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c615d75cd39eccaa1652965915076098dc7c5b49
---
modules/video_filter/logo.c | 8 --------
src/video_output/vout_intf.c | 1 -
2 files changed, 9 deletions(-)
diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c
index c17dc1b..76ef584 100644
--- a/modules/video_filter/logo.c
+++ b/modules/video_filter/logo.c
@@ -544,14 +544,6 @@ static int Mouse( filter_t *p_filter, vlc_mouse_t *p_mouse,
p_filter->fmt_in.video.i_width - i_logo_w );
p_sys->i_pos_y = VLC_CLIP( p_sys->i_pos_y + i_dy, 0,
p_filter->fmt_in.video.i_height - i_logo_h );
-
- /* object under mouse has moved */
- var_SetBool( p_filter->p_parent, "mouse-object", true );
- }
- else if( b_over )
- {
- /* object under mouse stoped moving */
- var_SetBool( p_filter->p_parent, "mouse-object", false );
}
if( p_sys->b_mouse_grab || b_over )
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 04ddc62..002ac7b 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -300,7 +300,6 @@ void vout_IntfInit( vout_thread_t *p_vout )
var_Create( p_vout, "mouse-button-down", VLC_VAR_INTEGER );
var_Create( p_vout, "mouse-moved", VLC_VAR_COORDS );
var_Create( p_vout, "mouse-clicked", VLC_VAR_COORDS );
- var_Create( p_vout, "mouse-object", VLC_VAR_BOOL );
vout_IntfReinit( p_vout );
}
More information about the vlc-commits
mailing list