forked from FFmpeg/FFmpeg
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
This commit is contained in:
parent
63a78ef131
commit
7f4fca038d
1 changed files with 1 additions and 1 deletions
2
ffmpeg.c
2
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue