Merge pull request #26220 from 78andyp/blurayfixes
[xbmc.git] / lib / libUPnP / patches / 0012-platinum-increase-number-of-requested-items-per-iter.patch
blob93402a2ff9cef7feb2d0dfac832fec68c5e6b3b0
1 From 058d7557b61afc45d83f98477f3ef5d1ab6cb571 Mon Sep 17 00:00:00 2001
2 From: Alasdair Campbell <alcoheca@gmail.com>
3 Date: Thu, 11 Oct 2012 13:22:35 +0100
4 Subject: [PATCH 12/24] platinum: increase number of requested items per
5 iteration. gives 2-3 times speed up.
7 ---
8 lib/libUPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp
12 index 96c36df..24219ff 100644
13 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp
14 +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp
15 @@ -262,7 +262,7 @@ PLT_SyncMediaBrowser::BrowseSync(PLT_DeviceDataReference& device,
16 device,
17 (const char*)object_id,
18 index,
19 - metadata?1:30, // DLNA recommendations for browsing children is no more than 30 at a time
20 + metadata?1:200, // DLNA recommendations for browsing children is no more than 30 at a time
21 metadata);
22 NPT_CHECK_LABEL_WARNING(res, done);
24 --
25 1.7.11.msysgit.0