Further reduce GUI blocking.
This commit is contained in:
parent
68a38efcd9
commit
e66ccc702b
|
@ -512,6 +512,8 @@ handle_audio_element(LivesupportMinimalAudioSmil * smil,
|
||||||
attr;
|
attr;
|
||||||
attr = (xmlAttribute*) attr->next) {
|
attr = (xmlAttribute*) attr->next) {
|
||||||
|
|
||||||
|
while(g_main_context_pending(NULL)) g_main_context_iteration(NULL,FALSE);
|
||||||
|
|
||||||
xmlNode * node;
|
xmlNode * node;
|
||||||
|
|
||||||
/* TODO: support attribute values that are represented with
|
/* 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 */
|
/* now handle the possible animate elements inside this audio element */
|
||||||
element = pplay;
|
element = pplay;
|
||||||
for (ix = 0, node = audio->children; node; node = node->next, ++ix) {
|
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) {
|
if (node->type == XML_ELEMENT_NODE) {
|
||||||
GstElement * elem = 0;
|
GstElement * elem = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue