[vlc-commits] commit: Attach the sap object to libvlc. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Sun Sep 26 11:33:40 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Sep 23 22:25:15 2010 +0200| [479dc6f761dad459f70782c79320cca9e0a84991] | committer: Rémi Duraffort 

Attach the sap object to libvlc.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=479dc6f761dad459f70782c79320cca9e0a84991
---

 src/stream_output/sap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/stream_output/sap.c b/src/stream_output/sap.c
index 40e03e8..04a3b9e 100644
--- a/src/stream_output/sap.c
+++ b/src/stream_output/sap.c
@@ -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;



More information about the vlc-commits mailing list