]> git.sesse.net Git - vlc/commitdiff
motion interface: use var_Inherit
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 19:36:06 +0000 (21:36 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 19:50:33 +0000 (21:50 +0200)
modules/control/motion.c

index 8ac6a18310a43076f13a162e4dfac1d89583d895..0935d28f3d0d2343db496a9b15d9a66137b0db7a 100644 (file)
@@ -156,7 +156,8 @@ int Open ( vlc_object_t *p_this )
 
     p_intf->pf_run = RunIntf;
 
-    p_intf->p_sys->b_use_rotate = config_GetInt( p_intf, "motion-use-rotate" );
+    p_intf->p_sys->b_use_rotate =
+        var_InheritInteger( p_intf, "motion-use-rotate" );
 
     return VLC_SUCCESS;
 }