[vlc-commits] microdns: renderer: fix no-video option

Thomas Guillem git at videolan.org
Fri Feb 23 11:02:54 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 23 08:55:34 2018 +0100| [93473efbb1206df7659c01d0475749a29cbf2181] | committer: Thomas Guillem

microdns: renderer: fix no-video option

(cherry picked from commit 4f2501f007251fe051faf34ad54d67ca4863f76f)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 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 24ee054291..f367c20cc6 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,



More information about the vlc-commits mailing list