mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
composition: use g_main_context_set_dispatches_per_iteration ()
Let's hope this gets merged ...
This commit is contained in:
parent
c391310539
commit
baa7863da6
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue