diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-17 23:11:49 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-21 22:52:56 +0400 |
commit | 9e63c30daa8bfde52c534027ce984e8cf3f200c3 (patch) | |
tree | cedfd0acfd227d62e7b8e037581fc2b1bf17e716 /libavformat/rawenc.c | |
parent | 14ac47fcc79b3c587af65e21be1da314882eeed0 (diff) |
lavf: add a real SRT muxer.
This muxer supports CODEC_ID_SRT with the timestamps in the packet data
and CODEC_ID_TEXT with the timestamps in the packet fields.
Makes -scodec copy work from Matroska.
Diffstat (limited to 'libavformat/rawenc.c')
-rw-r--r-- | libavformat/rawenc.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index 3745620133..8be3cc999e 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -257,18 +257,6 @@ AVOutputFormat ff_rawvideo_muxer = { }; #endif -#if CONFIG_SRT_MUXER -AVOutputFormat ff_srt_muxer = { - .name = "srt", - .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle format"), - .mime_type = "application/x-subrip", - .extensions = "srt", - .write_packet = ff_raw_write_packet, - .flags = AVFMT_NOTIMESTAMPS, - .subtitle_codec = CODEC_ID_SRT, -}; -#endif - #if CONFIG_TRUEHD_MUXER AVOutputFormat ff_truehd_muxer = { .name = "truehd", |