summaryrefslogtreecommitdiffstats
path: root/demux/demux_playlist.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-06-19 14:26:53 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commitde3ecc60cb5ac39e727d8bd1fe4f9e3499f8e672 (patch)
tree074390b2a7246c53df95ab6cea92d38a074971fd /demux/demux_playlist.c
parent56f09fa03da99cc34620c9d3569a3d06e5c95c11 (diff)
downloadmpv-de3ecc60cb5ac39e727d8bd1fe4f9e3499f8e672.tar.bz2
mpv-de3ecc60cb5ac39e727d8bd1fe4f9e3499f8e672.tar.xz
demux_playlist: extend maximum line size
Raise it from 8KB to 512KB. Do this because ytdl_hook.lua generated a 40KB EDL file (from 80KB youtube-dl JSON output), and putting it into a .m3u file for easier debugging failed due to the size limit.
Diffstat (limited to 'demux/demux_playlist.c')
-rw-r--r--demux/demux_playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_playlist.c b/demux/demux_playlist.c
index 2e24f0c6d0..b36e9cdfe1 100644
--- a/demux/demux_playlist.c
+++ b/demux/demux_playlist.c
@@ -47,7 +47,7 @@ static bool check_mimetype(struct stream *s, const char *const *list)
struct pl_parser {
struct mp_log *log;
struct stream *s;
- char buffer[8 * 1024];
+ char buffer[512 * 1024];
int utf16;
struct playlist *pl;
bool error;