mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
kodi: add NFS chunksize patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
4e525277f4
commit
acd373aef5
@ -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);
|
Loading…
x
Reference in New Issue
Block a user