Skip to content

Commit

Permalink
Merge commit '26524e358147aade6e9dd18fff42d61b966bbc70'
Browse files Browse the repository at this point in the history
* commit '26524e358147aade6e9dd18fff42d61b966bbc70':
  rtsp: Interpret the text media type as AVMEDIA_TYPE_DATA

See: afb0e5a
Merged-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Feb 24, 2015
2 parents c23a0e7 + 26524e3 commit c679227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c679227

Please sign in to comment.