Commit c6792275 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '26524e35'

* commit '26524e35':
  rtsp: Interpret the text media type as AVMEDIA_TYPE_DATA

See: afb0e5a8Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents c23a0e77 26524e35
......@@ -398,7 +398,7 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
codec_type = AVMEDIA_TYPE_AUDIO;
} else if (!strcmp(st_type, "video")) {
codec_type = AVMEDIA_TYPE_VIDEO;
} else if (!strcmp(st_type, "application")) {
} else if (!strcmp(st_type, "application") || !strcmp(st_type, "text")) {
codec_type = AVMEDIA_TYPE_DATA;
} else if (!strcmp(st_type, "text")) {
codec_type = AVMEDIA_TYPE_SUBTITLE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment