projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c391310
)
composition: use g_main_context_set_dispatches_per_iteration ()
author
Mathieu Duponchelle
<mathieu.duponchelle@opencreed.com>
Fri, 18 Jul 2014 02:01:25 +0000
(
04:01
+0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Fri, 31 Oct 2014 10:58:11 +0000
(11:58 +0100)
Let's hope this gets merged ...
gnl/gnlcomposition.c
patch
|
blob
|
history
diff --git
a/gnl/gnlcomposition.c
b/gnl/gnlcomposition.c
index
b3311d5
..
363ce57
100644
(file)
--- a/
gnl/gnlcomposition.c
+++ b/
gnl/gnlcomposition.c
@@
-745,6
+745,7
@@
gnl_composition_init (GnlComposition * comp)
priv->objects_hash = g_hash_table_new (g_direct_hash, g_direct_equal);
priv->mcontext = g_main_context_new ();
+ g_main_context_set_dispatches_per_iteration (priv->mcontext, 1);
g_mutex_init (&priv->mcontext_lock);
priv->pending_io = g_hash_table_new (g_direct_hash, g_direct_equal);