kodi: add NFS chunksize patch

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2015-02-08 19:30:28 +01:00
parent 5e32f07d36
commit 8300c08284

View File

@ -0,0 +1,22 @@
From e4883edd68351acb8c991b02179a7ba7662edc4f Mon Sep 17 00:00:00 2001
From: fritsch <peter.fruehberger@gmail.com>
Date: Wed, 4 Feb 2015 22:32:03 +0100
Subject: [PATCH] NFSFile: Chank ChunkSize to 1MB
---
xbmc/filesystem/NFSFile.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xbmc/filesystem/NFSFile.h b/xbmc/filesystem/NFSFile.h
index 4c01e4e..7afa6b8 100644
--- a/xbmc/filesystem/NFSFile.h
+++ b/xbmc/filesystem/NFSFile.h
@@ -148,7 +148,7 @@ namespace XFILE
//implement iocontrol for seek_possible for preventing the stat in File class for
//getting this info ...
virtual int IoControl(EIoControl request, void* param){ if(request == IOCTRL_SEEK_POSSIBLE) return 1;return -1;};
- virtual int GetChunkSize() {return 1;}
+ virtual int GetChunkSize() {return 1024*1024;}
virtual bool OpenForWrite(const CURL& url, bool bOverWrite = false);
virtual bool Delete(const CURL& url);