[FFmpeg-cvslog] r19713 - trunk/ffmpeg.c

reimar subversion
Wed Aug 26 12:22:27 CEST 2009


Author: reimar
Date: Wed Aug 26 12:22:27 2009
New Revision: 19713

Log:
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.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Wed Aug 26 12:08:00 2009	(r19712)
+++ trunk/ffmpeg.c	Wed Aug 26 12:22:27 2009	(r19713)
@@ -798,7 +798,7 @@ static void do_subtitle_out(AVFormatCont
                             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;



More information about the ffmpeg-cvslog mailing list