[vlc-commits] microdns: change server item type to directory

Thomas Guillem git at videolan.org
Thu Apr 14 11:15:54 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Apr 13 19:39:20 2016 +0200| [abb2c7e7d5c5b98b5222bb56fac0437021a6e74e] | committer: Thomas Guillem

microdns: change server item type to directory

An item becomes a node once it's opened by the playlist.

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

 modules/services_discovery/microdns.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/services_discovery/microdns.c b/modules/services_discovery/microdns.c
index 5a9a9eb..ca231da 100644
--- a/modules/services_discovery/microdns.c
+++ b/modules/services_discovery/microdns.c
@@ -140,7 +140,7 @@ items_add_input( services_discovery_t *p_sd, char *psz_uri,
 
     input_item_t *p_input_item =
         input_item_NewWithTypeExt( psz_uri, psz_name, 0, NULL, 0, -1,
-                                   ITEM_TYPE_NODE, true );
+                                   ITEM_TYPE_DIRECTORY, true );
     if( p_input_item == NULL )
     {
         free( psz_uri );



More information about the vlc-commits mailing list