xml-formatter: Use proper value for string extraction

The pass would be filled with some bogus (pointer) numerical value

CID #1139652
This commit is contained in:
Edward Hervey 2014-04-10 18:01:03 +02:00
parent e58a0a0fd8
commit 73713c157d

View file

@ -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;