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.
This commit is contained in:
wm4 2019-06-19 14:26:53 +02:00
parent 56f09fa03d
commit de3ecc60cb
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ static bool check_mimetype(struct stream *s, const char *const *list)
struct pl_parser { struct pl_parser {
struct mp_log *log; struct mp_log *log;
struct stream *s; struct stream *s;
char buffer[8 * 1024]; char buffer[512 * 1024];
int utf16; int utf16;
struct playlist *pl; struct playlist *pl;
bool error; bool error;