initial work on <segments> support

master
Bartosz Kostrzewa 2010-10-31 17:15:09 +01:00
parent 9e9a590bd8
commit a0e5b74975
1 changed files with 10 additions and 0 deletions

View File

@ -46,6 +46,7 @@ enum
PARSER_IN_LOOP,
PARSER_IN_FRAME,
PARSER_IN_ROW,
PARSER_IN_SEGMENTS,
PARSER_FINISH,
};
@ -221,6 +222,10 @@ parser_start_element (BParserState state,
return PARSER_IN_ROW;
}
else if(! strcmp (element_name, "segments"))
{
return PARSER_IN_SEGMENTS;
}
break;
default:
@ -394,6 +399,11 @@ parser_end_element (BParserState state,
}
return PARSER_IN_FRAME;
case PARSER_IN_SEGMENTS:
{
/* parse the segment information */
}
default:
break;
}