[vlc-devel] [PATCH 2/6] sd: avahi: save new input item as network directory

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Tue Jul 25 18:00:39 CEST 2017


---
 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 dbfac40809..4a432913a9 100644
--- a/modules/services_discovery/avahi.c
+++ b/modules/services_discovery/avahi.c
@@ -198,7 +198,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 )
-- 
2.13.1



More information about the vlc-devel mailing list