[FFmpeg-cvslog] matroskaenc: make SSA default subtitle codec.
Anton Khirnov
git at videolan.org
Wed Jul 13 00:49:12 CEST 2011
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Jun 24 21:34:42 2011 +0200| [93ade976c8e0af5cfe4a0d2f5a32875efe73e2d9] | committer: Anton Khirnov
matroskaenc: make SSA default subtitle codec.
It's a better format and we have an encoder for it, so it doesn't fail
like CODEC_ID_TEXT.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=93ade976c8e0af5cfe4a0d2f5a32875efe73e2d9
---
libavformat/matroskaenc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 169e8e4..d0e3c17 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -1205,7 +1205,7 @@ AVOutputFormat ff_matroska_muxer = {
mkv_write_trailer,
.flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
.codec_tag = (const AVCodecTag* const []){ff_codec_bmp_tags, ff_codec_wav_tags, 0},
- .subtitle_codec = CODEC_ID_TEXT,
+ .subtitle_codec = CODEC_ID_SSA,
};
#endif
More information about the ffmpeg-cvslog
mailing list