[vlc-devel] commit: motion interface: use var_Inherit ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Dec 30 20:52:22 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 21:36:06 2009 +0200| [c5ffd0a3f08c7401a9e7c367f002cf6fcc181c43] | committer: Rémi Denis-Courmont 

motion interface: use var_Inherit

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5ffd0a3f08c7401a9e7c367f002cf6fcc181c43
---

 modules/control/motion.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/control/motion.c b/modules/control/motion.c
index 8ac6a18..0935d28 100644
--- a/modules/control/motion.c
+++ b/modules/control/motion.c
@@ -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;
 }




More information about the vlc-devel mailing list