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

Pierre Lamot git at videolan.org
Fri Sep 6 18:01:45 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Sep  5 12:19:54 2019 +0200| [a72b4e881c51522b9df603df66b82211485eee1a] | committer: Jean-Baptiste Kempf

avahi: change discovered items type from file to directory

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 35c7077dd4..560c48dfc3 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