From 7f4fca038dc8f3309be331c8c8f57f03e71c9f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de> Date: Wed, 26 Aug 2009 10:22:27 +0000 Subject: [PATCH] Increase maximum encoded subtitle size from 64 kB to 1 MB. Fixes "dvd_subtitle too big" errors when encoding HD video subtitles to DVD format. Originally committed as revision 19713 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 9e41bbc7868..3df78f9befc 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -798,7 +798,7 @@ static void do_subtitle_out(AVFormatContext *s, int64_t pts) { static uint8_t *subtitle_out = NULL; - int subtitle_out_max_size = 65536; + int subtitle_out_max_size = 1024 * 1024; int subtitle_out_size, nb, i; AVCodecContext *enc; AVPacket pkt; -- GitLab