diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-10-21 05:12:04 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-10-25 02:17:56 +0400 |
commit | 2ecf9492ff3be5bf1e65e7a9a5fc7a00ae462a4b (patch) | |
tree | a6d07f4e604a3b747d0105354b0771cc6721cabb | |
parent | fd090a5d09238a4c641816e9af63d5fcb08f3115 (diff) |
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.
-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, }; |