[farsight2/master] Really make the netbuffer stuff thread safe

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:59 PST 2008


---
 transmitters/rawudp/fs-rawudp-component.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index deb9d2c..0c221b3 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -219,9 +219,9 @@ fs_rawudp_component_register_type (FsPlugin *module)
     (GInstanceInitFunc) fs_rawudp_component_init
   };
 
-  /* Required becaues the GST type registration is not thread safe */
+  /* Required because the GST type registration is not thread safe */
 
-  GST_TYPE_NETBUFFER;
+  g_type_class_ref (GST_TYPE_NETBUFFER);
 
   type = g_type_module_register_type (G_TYPE_MODULE (module),
       G_TYPE_OBJECT, "FsRawUdpComponent", &info, 0);
-- 
1.5.6.5




More information about the farsight-commits mailing list