]> git.sesse.net Git - vlc/blobdiff - src/playlist/services_discovery.c
Use 1400 rather than 1500 as default *application-layer* MTU to be on the
[vlc] / src / playlist / services_discovery.c
index 931feaa297b4aa5e8a22c7c5282dd8481e2a8244..4ed3a277eb0b048f14f3b9d8ba504e88b0b1b08c 100644 (file)
@@ -34,6 +34,14 @@ static void RunSD( services_discovery_t *p_sd );
  * That's how the playlist get's Service Discovery information
  */
 
+/***********************************************************************
+ * GetServicesNames
+ ***********************************************************************/
+char ** services_discovery_GetServicesNames( vlc_object_t * p_super )
+{
+    return module_GetModulesNamesForCapability( p_super, "services_discovery" );
+}
+
 /***********************************************************************
  * Create
  ***********************************************************************/
@@ -183,7 +191,9 @@ static void playlist_sd_item_added( const vlc_event_t * p_event, void * user_dat
     const char * psz_cat = p_event->u.services_discovery_item_added.psz_category;
     playlist_item_t *p_new_item, * p_parent = user_data;
 
-    msg_Dbg( p_parent->p_playlist, "Adding %s in %s", p_input->psz_name, psz_cat );
+    msg_Dbg( p_parent->p_playlist, "Adding %s in %s",
+                p_input->psz_name ? p_input->psz_name : "(null)",
+                psz_cat ? psz_cat : "(null)" );
 
     /* If p_parent is in root category (this is clearly a hack) and we have a cat */
     if( !EMPTY_STR(psz_cat) &&