From 6ff8a587bafd95810fe73e6301756f9746167758 Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 8 May 2017 23:23:57 +0200 Subject: [PATCH] Detect H.265 format in Matroska --- matroska/matroskatrack.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matroska/matroskatrack.cpp b/matroska/matroskatrack.cpp index 818676c..3f434a2 100644 --- a/matroska/matroskatrack.cpp +++ b/matroska/matroskatrack.cpp @@ -100,6 +100,8 @@ MediaFormat MatroskaTrack::codecIdToMediaFormat(const string &codecId) } else if(part2 == "L3") { fmt.sub = SubFormats::Mpeg1Layer3; } + } else if(part1 == "V_MPEGH" && part2 == "ISO" && part3 == "HEVC") { + fmt.general = GeneralMediaFormat::Hevc; } else if(part1 == "A_PCM") { fmt.general = GeneralMediaFormat::Pcm; if(part2 == "INT") {