Commit a6d4afcf authored by Jean-Philippe André's avatar Jean-Philippe André

Lua: Allocine, grow buffer up to 500k

This seems a lot, but 65k definitively ain't enough for some
movies.
(cherry picked from commit 89dbfd782618074a2ee4122f0bead8a08917c805)
Signed-off-by: default avatarJean-Philippe André <jpeg@videolan.org>
parent 8488444b
...@@ -278,7 +278,8 @@ function open_fiche(url) ...@@ -278,7 +278,8 @@ function open_fiche(url)
-- Open stream -- Open stream
local s = vlc.stream(url) 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 -- Buffer & temp variables
local first = nil local first = nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment