Commit 16097efb authored by Ståle Kristoffersen's avatar Ståle Kristoffersen Committed by Carl Eugen Hoyos

Auto-detect hevc in mpeg-ts.

Fixes decoding of files without PMT/PAT.
Signed-off-by: 's avatarCarl Eugen Hoyos <cehoyos@ag.or.at>
parent 0de9d72b
......@@ -301,6 +301,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st,
{ "dts", AV_CODEC_ID_DTS, AVMEDIA_TYPE_AUDIO },
{ "eac3", AV_CODEC_ID_EAC3, AVMEDIA_TYPE_AUDIO },
{ "h264", AV_CODEC_ID_H264, AVMEDIA_TYPE_VIDEO },
{ "hevc" , AV_CODEC_ID_HEVC , AVMEDIA_TYPE_VIDEO },
{ "loas", AV_CODEC_ID_AAC_LATM, AVMEDIA_TYPE_AUDIO },
{ "m4v", AV_CODEC_ID_MPEG4, AVMEDIA_TYPE_VIDEO },
{ "mp3", AV_CODEC_ID_MP3, AVMEDIA_TYPE_AUDIO },
......
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