From: Jean-Philippe André Date: Sun, 6 Jun 2010 10:17:29 +0000 (+0800) Subject: Lua: Allocine, grow buffer up to 500k X-Git-Tag: 1.2.0-pre1~6289 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=89dbfd782618074a2ee4122f0bead8a08917c805;p=vlc Lua: Allocine, grow buffer up to 500k This seems a lot, but 65k definitively ain't enough for some movies. --- diff --git a/share/lua/extensions/allocine-fr.lua b/share/lua/extensions/allocine-fr.lua index e095cda925..e3637c17d3 100644 --- a/share/lua/extensions/allocine-fr.lua +++ b/share/lua/extensions/allocine-fr.lua @@ -278,7 +278,8 @@ function open_fiche(url) -- Open stream local s = vlc.stream(url) - local data = s:read(65535) + -- Read max 500k (Note: 65k is not enough for the average note) + local data = s:read(500000) -- Buffer & temp variables local first = nil