[vlc-devel] [3.0 BP 7/7] avahi: change discovered items type from file to directory
Thomas Guillem
thomas at gllm.fr
Mon Feb 24 13:50:50 CET 2020
From: Pierre Lamot <pierre at videolabs.io>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit a72b4e881c51522b9df603df66b82211485eee1a)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
---
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 )
--
2.20.1
More information about the vlc-devel
mailing list