matroskadec_haali: support HEVC demuxing
This commit is contained in:
parent
dcf15661f2
commit
68b07f53ca
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue