vlc/vlc-1.2 | branch: master | Chris Clayton <[email protected]> | Sat Dec 17 23:00:47 2011 +0000| [68c6cf2d04eb875b1efca700775399a55b4e0460] | committer: Jean-Baptiste Kempf
UPNP: Fix a tag name in MediaServer xml parsing According to http://upnp.org/specs/av/UPnP-av-MediaServer-v1-Device.pdf, the tag name of the element that provides the base URL for relative URLs is "URLBase". The same is true for a v2 MediaServer. Make it so in MediaServer:: parseDeviceDescription(). Signed-off-by: Jean-Baptiste Kempf <[email protected]> (cherry picked from commit ca3f97a5111b897194134f11c78b4824ab87caba) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=68c6cf2d04eb875b1efca700775399a55b4e0460 --- modules/services_discovery/upnp.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp index 3a9b174..74452c2 100644 --- a/modules/services_discovery/upnp.cpp +++ b/modules/services_discovery/upnp.cpp @@ -348,7 +348,7 @@ void MediaServer::parseDeviceDescription( IXML_Document* p_doc, const char* psz_base_url = p_location; /* Try to extract baseURL */ - IXML_NodeList* p_url_list = ixmlDocument_getElementsByTagName( p_doc, "baseURL" ); + IXML_NodeList* p_url_list = ixmlDocument_getElementsByTagName( p_doc, "URLBase" ); if ( p_url_list ) { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
