[vlc-devel] [PATCH 1/3] filters: add filter name
Thomas Guillem
thomas at gllm.fr
Fri May 26 16:26:59 CEST 2017
---
include/vlc_filter.h | 1 +
src/misc/filter_chain.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/vlc_filter.h b/include/vlc_filter.h
index 5743cac21e..deec224044 100644
--- a/include/vlc_filter.h
+++ b/include/vlc_filter.h
@@ -78,6 +78,7 @@ struct filter_t
bool b_allow_fmt_out_change;
/* Filter configuration */
+ const char * psz_name;
config_chain_t * p_cfg;
union
diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index ae0316af73..a3b8a512b0 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -205,6 +205,7 @@ static filter_t *filter_chain_AppendInner( filter_chain_t *chain,
es_format_Copy( &filter->fmt_out, fmt_out );
filter->b_allow_fmt_out_change = chain->b_allow_fmt_out_change;
filter->p_cfg = cfg;
+ filter->psz_name = name;
filter->owner = chain->callbacks;
filter->owner.sys = chain;
--
2.11.0
More information about the vlc-devel
mailing list