[vlc-commits] commit: Attach the sap object to libvlc. ( Rémi Duraffort )
    git at videolan.org 
    git at videolan.org
       
    Tue Nov  2 09:53:54 CET 2010
    
    
  
vlc/vlc-1.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Sep 23 22:25:15 2010 +0200| [2558586a956326806569538c36e1c295ddd0021d] | committer: Rémi Duraffort 
Attach the sap object to libvlc.
(cherry picked from commit 479dc6f761dad459f70782c79320cca9e0a84991)
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=2558586a956326806569538c36e1c295ddd0021d
---
 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 f4d9a08..ebe18ba 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