vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Fri Feb 23 08:55:34 
2018 +0100| [4f2501f007251fe051faf34ad54d67ca4863f76f] | committer: Thomas 
Guillem

microdns: renderer: fix no-video option

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

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

diff --git a/modules/services_discovery/microdns.c 
b/modules/services_discovery/microdns.c
index e5d60eb8dd..8dc28a26a5 100644
--- a/modules/services_discovery/microdns.c
+++ b/modules/services_discovery/microdns.c
@@ -190,7 +190,7 @@ items_add_renderer( struct discovery_sys *p_sys, 
vlc_renderer_discovery_t *p_rd,
     if( p_item == NULL )
         return VLC_ENOMEM;
 
-    const char *psz_extra_uri = i_flags & VLC_RENDERER_CAN_VIDEO ? NULL : 
"video=0";
+    const char *psz_extra_uri = i_flags & VLC_RENDERER_CAN_VIDEO ? NULL : 
"no-video";
 
     vlc_renderer_item_t *p_renderer_item =
         vlc_renderer_item_new( "chromecast", psz_name, psz_uri, psz_extra_uri,

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to