From: RĂ©mi Duraffort Date: Thu, 23 Sep 2010 20:25:15 +0000 (+0200) Subject: Attach the sap object to libvlc. X-Git-Tag: 1.2.0-pre1~5220 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=479dc6f761dad459f70782c79320cca9e0a84991 Attach the sap object to libvlc. --- diff --git a/src/stream_output/sap.c b/src/stream_output/sap.c index 40e03e8bd6..04a3b9e35a 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;