1
0
Fork 0

avidec: force probing of subtitle streams

This commit is contained in:
Hendrik Leppkes 2012-10-07 13:28:32 +02:00
parent 107ea6c0fa
commit bb8faf7667
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 2 additions and 1 deletions

View File

@ -710,7 +710,8 @@ static int avi_read_header(AVFormatContext *s)
codec_type = AVMEDIA_TYPE_AUDIO;
break;
case MKTAG('t', 'x', 't', 's'):
codec_type = AVMEDIA_TYPE_SUBTITLE;
st->codecpar->codec_type = codec_type = AVMEDIA_TYPE_SUBTITLE;
ffstream(st)->request_probe = 1;
break;
case MKTAG('d', 'a', 't', 's'):
codec_type = AVMEDIA_TYPE_DATA;