diff options
Diffstat (limited to 'gst/gst.c')
-rw-r--r-- | gst/gst.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -450,11 +450,8 @@ init_pre (void) { g_type_init (); - if (g_thread_supported ()) { - /* somebody already initialized threading */ - } else { + if (!g_thread_supported ()) g_thread_init (NULL); - } /* we need threading to be enabled right here */ _gst_debug_init (); @@ -526,8 +523,6 @@ gst_register_core_elements (GstPlugin * plugin) GST_TYPE_BIN) || !gst_element_register (plugin, "pipeline", GST_RANK_PRIMARY, GST_TYPE_PIPELINE) || - !gst_element_register (plugin, "thread", GST_RANK_PRIMARY, - GST_TYPE_THREAD) || !gst_element_register (plugin, "queue", GST_RANK_NONE, GST_TYPE_QUEUE)) g_assert_not_reached (); |