[vlc-commits] magnify: inherit mouse-hide-timeout from vout
Victorien Le Couviour--Tuffet
git at videolan.org
Sat Jul 1 18:25:04 CEST 2017
vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Tue Jun 27 10:07:45 2017 +0200| [66cac2a4aaecab257c914d1dd6f2ea8d69815cbb] | committer: Thomas Guillem
magnify: inherit mouse-hide-timeout from vout
This variable is already created by the vout and we don't want to create it
again from filters proxy callbacks.
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66cac2a4aaecab257c914d1dd6f2ea8d69815cbb
---
modules/video_filter/magnify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/magnify.c b/modules/video_filter/magnify.c
index 881c6a4d58..9edd627983 100644
--- a/modules/video_filter/magnify.c
+++ b/modules/video_filter/magnify.c
@@ -127,7 +127,7 @@ static int Create( vlc_object_t *p_this )
p_sys->i_zoom = 2*ZOOM_FACTOR;
p_sys->b_visible = true;
p_sys->i_last_activity = mdate();
- p_sys->i_hide_timeout = 1000 * var_CreateGetInteger( p_filter, "mouse-hide-timeout" ); /* FIXME */
+ p_sys->i_hide_timeout = 1000 * var_InheritInteger( p_filter, "mouse-hide-timeout" );
/* */
p_filter->pf_video_filter = Filter;
More information about the vlc-commits
mailing list