diff options
author | Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> | 2015-02-28 23:15:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-01 03:40:10 +0100 |
commit | c95c039ec38877e783b97c1a83c3b9d6ee6d03e6 (patch) | |
tree | a740b362cb94bf4ce6cdcbd395149246272bd052 /libavformat | |
parent | 9564375deeaf22f8e8eaa4fcbc33115d104f7138 (diff) | |
download | ffmpeg-c95c039ec38877e783b97c1a83c3b9d6ee6d03e6.tar.gz |
avformat: map T.140 RTP codec to text
This makes more sense than mapping to AV_CODEC_ID_SUBRIP. Nothing
indicates that a T.140 track contains subrip sub-titles.
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 8cd2f26a7c..2227e23dce 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -59,7 +59,7 @@ static RTPDynamicProtocolHandler opus_dynamic_handler = { static RTPDynamicProtocolHandler t140_dynamic_handler = { /* RFC 4103 */ .enc_name = "t140", .codec_type = AVMEDIA_TYPE_SUBTITLE, - .codec_id = AV_CODEC_ID_SUBRIP, + .codec_id = AV_CODEC_ID_TEXT, }; static RTPDynamicProtocolHandler *rtp_first_dynamic_payload_handler = NULL; |