[vlc-commits] dsm: 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:01 2016 +0200| [152cd51d6d06b031c288d0f4e2582e16ea270046] | committer: Thomas Guillem

dsm: 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=152cd51d6d06b031c288d0f4e2582e16ea270046
---

 modules/access/dsm/sd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dsm/sd.c b/modules/access/dsm/sd.c
index 5fde48d..e8857a7 100644
--- a/modules/access/dsm/sd.c
+++ b/modules/access/dsm/sd.c
@@ -121,7 +121,7 @@ static void netbios_ns_discover_on_entry_added( void *p_opaque,
             return;
 
         p_item = input_item_NewWithTypeExt( psz_mrl, name, 0, NULL,
-                                            0, -1, ITEM_TYPE_NODE, 1 );
+                                            0, -1, ITEM_TYPE_DIRECTORY, 1 );
         msg_Dbg( p_sd, "Adding item %s", psz_mrl );
         free(psz_mrl);
 



More information about the vlc-commits mailing list