projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a78ef
)
Increase maximum encoded subtitle size from 64 kB to 1 MB.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 26 Aug 2009 10:22:27 +0000
(10:22 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 26 Aug 2009 10:22:27 +0000
(10:22 +0000)
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
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
9e41bbc
..
3df78f9
100644
(file)
--- 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;