[vlc-commits] chromecast: Hide some private variable from settings
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jan 16 17:19:22 CET 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jan 16 15:16:25 2018 +0100| [227c0074638aa47f6e14e44c858a1200078eac99] | committer: Hugo Beauzée-Luyssen
chromecast: Hide some private variable from settings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=227c0074638aa47f6e14e44c858a1200078eac99
---
modules/stream_out/chromecast/cast.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index a47d3afe18..5085407668 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -141,12 +141,15 @@ vlc_module_begin ()
set_callbacks(Open, Close)
add_string(SOUT_CFG_PREFIX "ip", NULL, IP_ADDR_TEXT, IP_ADDR_LONGTEXT, false)
+ change_private()
add_integer(SOUT_CFG_PREFIX "port", CHROMECAST_CONTROL_PORT, PORT_TEXT, PORT_LONGTEXT, false)
+ change_private()
add_integer(SOUT_CFG_PREFIX "http-port", HTTP_PORT, HTTP_PORT_TEXT, HTTP_PORT_LONGTEXT, false)
add_bool(SOUT_CFG_PREFIX "video", true, HAS_VIDEO_TEXT, HAS_VIDEO_LONGTEXT, false)
add_string(SOUT_CFG_PREFIX "mux", DEFAULT_MUXER, MUX_TEXT, MUX_LONGTEXT, false)
add_string(SOUT_CFG_PREFIX "mime", "video/x-matroska", MIME_TEXT, MIME_LONGTEXT, false)
add_integer(SOUT_CFG_PREFIX "show-perf-warning", 1, PERF_TEXT, PERF_LONGTEXT, true )
+ change_private()
add_bool(SOUT_CFG_PREFIX "audio-passthrough", false, AUDIO_PASSTHROUGH_TEXT, AUDIO_PASSTHROUGH_LONGTEXT, false )
add_bool(SOUT_CFG_PREFIX "multichannel-pcm", false, MULTICHANNEL_PCM_TEXT, MULTICHANNEL_PCM_LONGTEXT, false );
More information about the vlc-commits
mailing list