sap: Set the sap announcer object name.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 27 Mar 2008 01:03:45 +0000 (02:03 +0100)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 27 Mar 2008 01:04:59 +0000 (02:04 +0100)
src/stream_output/sap.c

index c234ee8..239b1cd 100644 (file)
@@ -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;