1
0
Fork 0

matroskadec_haali: support HEVC demuxing

This commit is contained in:
Hendrik Leppkes 2013-10-23 09:15:29 +02:00
parent dcf15661f2
commit 68b07f53ca
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 1 additions and 1 deletions

View File

@ -1139,7 +1139,7 @@ static int mkv_read_header(AVFormatContext *s)
st->codec-> width * info->AV.Video.DisplayHeight,
1 << 30);
}
if (st->codec->codec_id != AV_CODEC_ID_H264)
if (st->codec->codec_id != AV_CODEC_ID_H264 && st->codec->codec_id != AV_CODEC_ID_HEVC)
st->need_parsing = AVSTREAM_PARSE_HEADERS;
av_log(s, AV_LOG_DEBUG, "Default Duration: %"PRId64"\n", info->DefaultDuration);
if (info->DefaultDuration && info->DefaultDuration > 8000000) {