[vlc-commits] bonjour: 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:28 2016 +0200| [e7ec0bdcb4bfc804a4d71ec95c31f30015a425d4] | committer: Thomas Guillem

bonjour: 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=e7ec0bdcb4bfc804a4d71ec95c31f30015a425d4
---

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

diff --git a/modules/services_discovery/bonjour.m b/modules/services_discovery/bonjour.m
index f9dd45c..673f71d 100644
--- a/modules/services_discovery/bonjour.m
+++ b/modules/services_discovery/bonjour.m
@@ -197,7 +197,7 @@ struct services_discovery_sys_t
         input_item_t *p_input_item = input_item_NewWithTypeExt([uri UTF8String],
                                                                [aNetService.name UTF8String],
                                                                0, NULL, 0, -1,
-                                                               ITEM_TYPE_NODE, true );
+                                                               ITEM_TYPE_DIRECTORY, true );
 
         if (p_input_item != NULL) {
             services_discovery_AddItem(self.p_sd, p_input_item, NULL);



More information about the vlc-commits mailing list