static void svg_flush_animations(GF_SVG_Parser *parser)
{
	if (!parser) return;
	while (gf_list_count(parser->deferred_animations)) {
		SVG_DeferredAnimation *anim = (SVG_DeferredAnimation *)gf_list_get(parser->deferred_animations, 0);
		svg_parse_animation(parser, parser->load->scene_graph, anim, NULL, 2);
		svg_delete_deferred_anim(anim, parser->deferred_animations);
	}
}
static void svg_flush_animations(GF_SVG_Parser *parser)
{
	if (!parser) return;
	while (gf_list_count(parser->deferred_animations)) {
		SVG_DeferredAnimation *anim = (SVG_DeferredAnimation *)gf_list_get(parser->deferred_animations, 0);
		svg_parse_animation(parser, parser->load->scene_graph, anim, NULL, 2);
		svg_delete_deferred_anim(anim, parser->deferred_animations);
	}
}