aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/assenc.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-12-04 00:47:12 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-12-04 00:47:12 +0000
commit5bdbf64cf346e5558fe1920ff6cd06ae1f646a3c (patch)
treef37565ca5c62594a1cd4cf9518635ee16d5cff9d /libavformat/assenc.c
parent908dc2a0b8ef0c2ba78cdb6a50dd849a1c14385e (diff)
downloadffmpeg-5bdbf64cf346e5558fe1920ff6cd06ae1f646a3c.tar.gz
set default subtitle_codec for ass muxer
Originally committed as revision 25870 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/assenc.c')
-rw-r--r--libavformat/assenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/assenc.c b/libavformat/assenc.c
index 3be4334172..bc1d7de731 100644
--- a/libavformat/assenc.c
+++ b/libavformat/assenc.c
@@ -83,6 +83,7 @@ AVOutputFormat ass_muxer = {
.mime_type = "text/x-ssa",
.extensions = "ass,ssa",
.priv_data_size = sizeof(ASSContext),
+ .subtitle_codec = CODEC_ID_SSA,
.write_header = write_header,
.write_packet = write_packet,
.write_trailer = write_trailer,