vlc | branch: master | Matthias Keiser <matth...@tristan-inc.com> | Thu Feb 6 23:15:40 2014 +0100| [d4b9df3d3c41d4a366a3ffd0405a9464bb9b54b2] | committer: Rémi Denis-Courmont
transform: parse configuration argument Signed-off-by: Rémi Denis-Courmont <r...@remlab.net> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d4b9df3d3c41d4a366a3ffd0405a9464bb9b54b2 --- modules/video_filter/transform.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/video_filter/transform.c b/modules/video_filter/transform.c index b9d5ffc..60fdaa1 100644 --- a/modules/video_filter/transform.c +++ b/modules/video_filter/transform.c @@ -315,6 +315,12 @@ static int Open(vlc_object_t *object) sys->chroma = chroma; + static const char *const ppsz_filter_options[] = { + "type", NULL + }; + + config_ChainParse(filter, CFG_PREFIX, ppsz_filter_options, + filter->p_cfg); char *type_name = var_InheritString(filter, CFG_PREFIX"type"); const transform_description_t *dsc = NULL; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits