mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Revert "kodi: add NFS chunksize patch"
This reverts commit acd373aef5b3eea3d9f14f99c3438ec32d85054d.
This commit is contained in:
parent
677d887cc6
commit
8e300dbb5b
@ -1,22 +0,0 @@
|
|||||||
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