aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-24 21:34:42 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-12 15:25:53 +0200
commit93ade976c8e0af5cfe4a0d2f5a32875efe73e2d9 (patch)
tree4d40217757bc8af9544d7871c7f98e3b08ad3edd /libavformat
parent4cc3467e7abfea7e8d03b6af511f7719038a5a98 (diff)
downloadffmpeg-93ade976c8e0af5cfe4a0d2f5a32875efe73e2d9.tar.gz
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.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroskaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 169e8e44da..d0e3c171eb 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