/* Animations are applied in their begin order first and then in document order. Whenever an animation (re)starts, it is placed at the end of the queue (potentially after frozen animations) */ static void gf_smil_reorder_anim(SMIL_Timing_RTI *rti) { SMIL_Anim_RTI *rai = rti->rai; if (rai) { gf_list_del_item(rai->owner->anims, rai); gf_list_add(rai->owner->anims, rai); gf_smil_anim_reset_variables(rai); } }
/*Animations are applied in their begin order. Whenever an anim (re)starts, it is placed at the end of the queue (potentially after frozen animations)*/ static void gf_smil_reorder_anim(SMIL_Timing_RTI *rti) { SMIL_Anim_RTI *rai = (SMIL_Anim_RTI *) gf_smil_anim_get_anim_runtime_from_timing(rti); if (rai) { gf_list_del_item(rai->owner->anims, rai); gf_list_add(rai->owner->anims, rai); gf_smil_anim_reset_variables(rai); } }