[vlc-devel] [PATCH] magnify: inherit mouse-hide-timeout from vout instead of create+inherit

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Tue Jun 27 10:10:19 CEST 2017


---
 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;
-- 
2.13.1



More information about the vlc-devel mailing list