summaryrefslogtreecommitdiffstats
path: root/libavformat/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r--libavformat/raw.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index 0c83c42..dc48c91 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -1082,6 +1082,18 @@ AVOutputFormat mlp_muxer = {
};
#endif
+#if CONFIG_SRT_MUXER
+AVOutputFormat srt_muxer = {
+ .name = "srt",
+ .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle format"),
+ .mime_type = "application/x-subrip",
+ .extensions = "srt",
+ .write_packet = raw_write_packet,
+ .flags = AVFMT_NOTIMESTAMPS,
+ .subtitle_codec = CODEC_ID_SRT,
+};
+#endif
+
#if CONFIG_TRUEHD_DEMUXER
AVInputFormat truehd_demuxer = {
"truehd",
OpenPOWER on IntegriCloud