]> git.sesse.net Git - vlc/commitdiff
Attach the sap object to libvlc.
authorRémi Duraffort <ivoire@videolan.org>
Thu, 23 Sep 2010 20:25:15 +0000 (22:25 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 26 Sep 2010 08:44:34 +0000 (10:44 +0200)
src/stream_output/sap.c

index 40e03e8bd603dac78c6bfc140c4d4c3a6f6f303d..04a3b9e35ac77edd89e26ec31785947079491e7d 100644 (file)
@@ -108,6 +108,7 @@ sap_handler_t *SAP_Create (vlc_object_t *p_announce)
     if (p_sap == NULL)
         return NULL;
 
+    vlc_object_attach( p_sap, p_announce );
     vlc_mutex_init (&p_sap->lock);
     p_sap->first = NULL;
     return p_sap;