[vlc-commits] transform: parse configuration argument
Matthias Keiser
git at videolan.org
Fri Feb 7 20:12:42 CET 2014
vlc | branch: master | Matthias Keiser <matthias at 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 <remi at 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;
More information about the vlc-commits
mailing list