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.chanteperd...@xenomai.org> --- libavformat/rtpdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 8cd2f26..2227e23 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; -- 1.8.4 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel