[vlc-devel] [PATCH 04/12] upnp: items are already sorted
    Thomas Guillem 
    thomas at gllm.fr
       
    Tue May 19 10:27:44 CEST 2015
    
    
  
Since items are already sorted by the server.
---
 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;
 }
-- 
2.1.4
    
    
More information about the vlc-devel
mailing list