[vlc-commits] upnp: items are already sorted

Thomas Guillem git at videolan.org
Wed May 20 16:10:25 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu May  7 09:49:53 2015 +0200| [feb2e0654099fa548c9f979c31168cd4f64575c8] | committer: Thomas Guillem

upnp: items are already sorted

Since items are already sorted by the server.

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

 modules/services_discovery/upnp.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index f7f1882..078636d 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -839,6 +839,7 @@ static int Open( vlc_object_t *p_this )
     }
 
     p_access->pf_readdir = ReadDirectory;
+    p_access->info.b_dir_sorted = true;
 
     return VLC_SUCCESS;
 }



More information about the vlc-commits mailing list