Further reduce GUI blocking.
This commit is contained in:
parent
68a38efcd9
commit
e66ccc702b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue