diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-26 10:22:27 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-26 10:22:27 +0000 |
commit | 7f4fca038dc8f3309be331c8c8f57f03e71c9f42 (patch) | |
tree | 2782b90b7e20c674c327bc66d5c71df2dfc31778 /ffmpeg.c | |
parent | 63a78ef1315b451a1faadfdea4d7d6f8c05d0b6a (diff) | |
download | ffmpeg-7f4fca038dc8f3309be331c8c8f57f03e71c9f42.tar.gz |
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
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |