From c635497cb43485f5e0f470d56054ced995fe3c7a Mon Sep 17 00:00:00 2001 From: David Conrad Date: Wed, 5 Sep 2007 00:24:48 +0000 Subject: [PATCH] Set default subtitle_codec to CODEC_ID_TEXT Originally committed as revision 10355 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroskaenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 35ed2623e7..76369bac3f 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -740,6 +740,7 @@ AVOutputFormat matroska_muxer = { mkv_write_packet, mkv_write_trailer, .codec_tag = (const AVCodecTag*[]){codec_bmp_tags, codec_wav_tags, 0}, + .subtitle_codec = CODEC_ID_TEXT, }; AVOutputFormat matroska_audio_muxer = {