Browse Source

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>
tags/n2.6
Gilles Chanteperdrix Michael Niedermayer 10 years ago
parent
commit
c95c039ec3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rtpdec.c

+ 1
- 1
libavformat/rtpdec.c View File

@@ -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;


Loading…
Cancel
Save