From 2ec43ea8859403bed3b23598fcb935958e2c5583 Mon Sep 17 00:00:00 2001
From: Julian Bouzas <julian.bouzas@collabora.com>
Date: Tue, 5 Jan 2021 08:43:03 -0500
Subject: [PATCH] wp: remove initialization of wireplumber types

---
 lib/wp/wp.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/lib/wp/wp.c b/lib/wp/wp.c
index 30a3d91f..8a3ad8e1 100644
--- a/lib/wp/wp.c
+++ b/lib/wp/wp.c
@@ -62,16 +62,9 @@ wp_init (WpInitFlags flags)
   if (flags & WP_INIT_SET_PW_LOG && !g_getenv ("WIREPLUMBER_NO_PW_LOG"))
     pw_log_set_level (lvl);
 
-  if (flags & WP_INIT_SPA_TYPES) {
+  if (flags & WP_INIT_SPA_TYPES)
     wp_spa_type_init (TRUE);
 
-    /* Register custom wireplumber session types */
-    wp_spa_type_register (WP_SPA_TYPE_TABLE_PROPS,
-        "Wp:Pod:Object:Param:Props:defaultSource", "Wp:defaultSource");
-    wp_spa_type_register (WP_SPA_TYPE_TABLE_PROPS,
-        "Wp:Pod:Object:Param:Props:defaultSink", "Wp:defaultSink");
-  }
-
   /* ensure WpProxy subclasses are loaded, which is needed to be able
     to autodetect the GType of proxies created through wp_proxy_new_global() */
   g_type_ensure (WP_TYPE_CLIENT);
-- 
GitLab