[vlc-commits] avahi: change discovered items type from file to directory

Pierre Lamot git at videolan.org
Thu Feb 27 14:10:41 CET 2020


vlc/vlc-3.0 | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Sep  5 12:19:54 2019 +0200| [7e12827d070c2ffd6a9caef0fe9c42bd88f449a7] | committer: Thomas Guillem

avahi: change discovered items type from file to directory

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit a72b4e881c51522b9df603df66b82211485eee1a)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

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

diff --git a/modules/services_discovery/avahi.c b/modules/services_discovery/avahi.c
index 1cc719c3f9..080a8d636f 100644
--- a/modules/services_discovery/avahi.c
+++ b/modules/services_discovery/avahi.c
@@ -338,7 +338,7 @@ static void resolve_callback(
 
         if( psz_uri != NULL )
         {
-            p_input = input_item_New( psz_uri, name );
+            p_input = input_item_NewDirectory( psz_uri, name, ITEM_NET );
             free( psz_uri );
         }
         if( p_input != NULL )



More information about the vlc-commits mailing list