aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/srtenc.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-10-21 03:12:04 +0200
committerClément Bœsch <ubitux@gmail.com>2012-10-25 00:17:56 +0200
commit2ecf9492ff3be5bf1e65e7a9a5fc7a00ae462a4b (patch)
treea6d07f4e604a3b747d0105354b0771cc6721cabb /libavformat/srtenc.c
parentfd090a5d09238a4c641816e9af63d5fcb08f3115 (diff)
downloadffmpeg-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/srtenc.c')
-rw-r--r--libavformat/srtenc.c2
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,
};