[vlc-devel] [PATCH] transform: change var_InheritString to var_CreateGetStringCommand

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Fri Jun 23 08:49:33 CEST 2017


---
 modules/video_filter/transform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/transform.c b/modules/video_filter/transform.c
index 7c88f234ef..9065cdad9f 100644
--- a/modules/video_filter/transform.c
+++ b/modules/video_filter/transform.c
@@ -324,7 +324,7 @@ static int Open(vlc_object_t *object)
 
     config_ChainParse(filter, CFG_PREFIX, ppsz_filter_options,
                       filter->p_cfg);
-    char *type_name = var_InheritString(filter, CFG_PREFIX"type");
+    char *type_name = var_CreateGetStringCommand(filter, CFG_PREFIX"type");
     const transform_description_t *dsc = NULL;
 
     for (size_t i = 0; i < n_transforms; i++)
-- 
2.13.1



More information about the vlc-devel mailing list