Further reduce GUI blocking.

This commit is contained in:
mark 2006-11-22 08:13:08 +00:00
parent 68a38efcd9
commit e66ccc702b
1 changed files with 4 additions and 0 deletions

View File

@ -512,6 +512,8 @@ handle_audio_element(LivesupportMinimalAudioSmil * smil,
attr;
attr = (xmlAttribute*) attr->next) {
while(g_main_context_pending(NULL)) g_main_context_iteration(NULL,FALSE);
xmlNode * node;
/* TODO: support attribute values that are represented with
@ -585,6 +587,8 @@ handle_audio_element(LivesupportMinimalAudioSmil * smil,
/* now handle the possible animate elements inside this audio element */
element = pplay;
for (ix = 0, node = audio->children; node; node = node->next, ++ix) {
while(g_main_context_pending(NULL)) g_main_context_iteration(NULL,FALSE);
if (node->type == XML_ELEMENT_NODE) {
GstElement * elem = 0;