[vlc-devel] commit: sap: Set the sap announcer object name. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Mar 27 02:04:48 CET 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Thu Mar 27 02:03:45 2008 +0100| [aa389eb5a752d3c12092aee41417e9b219c54891]

sap: Set the sap announcer object name.

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

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

diff --git a/src/stream_output/sap.c b/src/stream_output/sap.c
index c234ee8..239b1cd 100644
--- a/src/stream_output/sap.c
+++ b/src/stream_output/sap.c
@@ -120,13 +120,14 @@ sap_handler_t *announce_SAPHandlerCreate( announce_handler_t *p_announce )
     sap_handler_t *p_sap;
 
     p_sap = vlc_object_create( p_announce, sizeof( sap_handler_t ) );
-
     if( !p_sap )
     {
         msg_Err( p_announce, "out of memory" );
         return NULL;
     }
 
+    p_sap->psz_object_name = "sap announcer";
+
     vlc_mutex_init( p_sap, &p_sap->object_lock );
 
     p_sap->pf_add = announce_SAPAnnounceAdd;




More information about the vlc-devel mailing list