diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-10-21 03:12:04 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-10-25 00:17:56 +0200 |
commit | 2ecf9492ff3be5bf1e65e7a9a5fc7a00ae462a4b (patch) | |
tree | a6d07f4e604a3b747d0105354b0771cc6721cabb /libavformat | |
parent | fd090a5d09238a4c641816e9af63d5fcb08f3115 (diff) | |
download | ffmpeg-2ecf9492ff3be5bf1e65e7a9a5fc7a00ae462a4b.tar.gz |
lavf/srtenc: set codec to subrip by default.
We don't have a text encoder yet, so this commit makes automatic
encoding working with srt output.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/srtenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/srtenc.c b/libavformat/srtenc.c index 42a264e70c..f50cfbb127 100644 --- a/libavformat/srtenc.c +++ b/libavformat/srtenc.c @@ -93,5 +93,5 @@ AVOutputFormat ff_srt_muxer = { .write_header = srt_write_header, .write_packet = srt_write_packet, .flags = AVFMT_VARIABLE_FPS, - .subtitle_codec = AV_CODEC_ID_TEXT, + .subtitle_codec = AV_CODEC_ID_SUBRIP, }; |