[vlc-commits] filter: don't proxy variables not configurable
Thomas Guillem
git at videolan.org
Fri Mar 8 08:35:30 CET 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Mar 8 08:32:25 2019 +0100| [fcfe303bfe175a5101a5678e146d41cf489fb991] | committer: Thomas Guillem
filter: don't proxy variables not configurable
This fixes an assert when trying proxying the "module-name" variable.
Regression from 38545d874a4952eada17b3dfe07b793cbaa705fd
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fcfe303bfe175a5101a5678e146d41cf489fb991
---
src/misc/filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/filter.c b/src/misc/filter.c
index 49131f4da5..a1199adce7 100644
--- a/src/misc/filter.c
+++ b/src/misc/filter.c
@@ -55,7 +55,7 @@ void filter_AddProxyCallbacks( vlc_object_t *obj, filter_t *filter,
{
char *name = *pname;
int var_type = var_Type(filter, name);
- if (var_Type(obj, name))
+ if (var_Type(obj, name) || config_GetType(name) == 0)
{
free(name);
continue;
More information about the vlc-commits
mailing list