[vlc-commits] [Git][videolan/vlc][master] upnp: fix warning
Romain Vimont (@rom1v)
gitlab at videolan.org
Fri Jul 2 06:35:30 UTC 2021
Romain Vimont pushed to branch master at VideoLAN / VLC
Commits:
616c6429 by Lyndon Brown at 2021-07-02T06:18:08+00:00
upnp: fix warning
caught by type strict plugin descriptor macros.
- - - - -
1 changed file:
- modules/services_discovery/upnp.cpp
Changes:
=====================================
modules/services_discovery/upnp.cpp
=====================================
@@ -174,7 +174,7 @@ vlc_module_begin()
set_callbacks(DLNA::OpenSout, DLNA::CloseSout)
add_string(SOUT_CFG_PREFIX "ip", NULL, IP_ADDR_TEXT, IP_ADDR_LONGTEXT)
- add_integer(SOUT_CFG_PREFIX "port", NULL, PORT_TEXT, PORT_LONGTEXT)
+ add_integer(SOUT_CFG_PREFIX "port", 0, PORT_TEXT, PORT_LONGTEXT)
add_integer(SOUT_CFG_PREFIX "http-port", HTTP_PORT, HTTP_PORT_TEXT, HTTP_PORT_LONGTEXT)
add_bool(SOUT_CFG_PREFIX "video", true, HAS_VIDEO_TEXT, HAS_VIDEO_LONGTEXT)
add_string(SOUT_CFG_PREFIX "base_url", NULL, BASE_URL_TEXT, BASE_URL_LONGTEXT)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/616c64299ed65c953e6397147356f53c2311b8ae
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/616c64299ed65c953e6397147356f53c2311b8ae
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list