From 73713c157d71d46401326d557fbe06995f5d16f7 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 10 Apr 2014 18:01:03 +0200 Subject: [PATCH] xml-formatter: Use proper value for string extraction The pass would be filled with some bogus (pointer) numerical value CID #1139652 --- ges/ges-xml-formatter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ges/ges-xml-formatter.c b/ges/ges-xml-formatter.c index 0428878363..979f01dabc 100644 --- a/ges/ges-xml-formatter.c +++ b/ges/ges-xml-formatter.c @@ -181,7 +181,7 @@ _parse_stream_profile (GMarkupParseContext * context, COLLECT_STR_OPT, "preset", &preset, COLLECT_STR_OPT, "preset-name", &preset_name, COLLECT_STR_OPT, "restriction", &restriction, - COLLECT_STR_OPT, "pass", &pass, + COLLECT_STR_OPT, "pass", &strpass, COLLECT_STR_OPT, "variableframerate", &strvariableframerate, G_MARKUP_COLLECT_STRING, "parent", &parent, G_MARKUP_COLLECT_INVALID)) return;