ges-launch: parse property names longer than 1 char.

+ And finish the previous structure when encountering a setter.
This commit is contained in:
Mathieu Duponchelle 2015-02-19 19:16:44 +01:00 committed by Thibault Saunier
parent c6dedf2f36
commit 6f1091f84a
2 changed files with 3 additions and 1 deletions

View file

@ -113,6 +113,8 @@ ges_structure_parser_parse_setter (GESStructureParser * self,
{
gchar *parsed_setter;
_finish_structure (self);
while (*setter == '-' || *setter == ' ')
setter++;

View file

@ -14,7 +14,7 @@ CLIP [ ]+--clip[ ]+|[ ]+-c[ ]+
TRANSITION [ ]+--transition[ ]+|[ ]+-t[ ]+
EFFECT [ ]+--effect[ ]+|[ ]+-e[ ]+
SETTER [ ]+--set-.[ ]+
SETTER [ ]+--set-[^ ]+[ ]+
%%