]> git.sesse.net Git - vlc/blobdiff - modules/control/motion.c
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / control / motion.c
index 8ac6a18310a43076f13a162e4dfac1d89583d895..2af60ef91fad316e507d477ddfe094c56a47211f 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_InheritBool( p_intf, "motion-use-rotate" );
 
     return VLC_SUCCESS;
 }