[vlc-commits] upnp: Don't specify any filter.

Hugo Beauzée-Luyssen git at videolan.org
Thu Jan 28 11:40:28 CET 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jan 28 11:38:14 2016 +0100| [cb4be714379e8d6437019a947593b12f8caaeb85] | committer: Hugo Beauzée-Luyssen

upnp: Don't specify any filter.

It seems some implementations won't return the <res> tag, even though it
was specified, which was preventing us from playing the content.

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

 modules/services_discovery/upnp.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index 3b092c5..7aa2e52 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -848,9 +848,7 @@ void MediaServer::fetchContents()
 {
     IXML_Document* p_response = _browseAction( psz_objectId_,
                                       "BrowseDirectChildren",
-                                      "id,dc:title,res," /* Filter */
-                                      "sec:CaptionInfo,sec:CaptionInfoEx,"
-                                      "pv:subtitlefile",
+                                      "*",
                                       "0", /* RequestedCount */
                                       "" /* SortCriteria */
                                       );



More information about the vlc-commits mailing list