aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
};