summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-03 16:12:40 +0200
committerwm4 <wm4@nowhere>2013-10-16 00:47:52 +0200
commitd3c140bbf2901dfe155093a6039dbe3dc92ee75a (patch)
treeafeb509e4675b281d1a678ad1c1c1cbd61562691 /demux
parentf572d22863849ad08746ce9a221403aa58b5e086 (diff)
downloadmpv-d3c140bbf2901dfe155093a6039dbe3dc92ee75a.tar.bz2
mpv-d3c140bbf2901dfe155093a6039dbe3dc92ee75a.tar.xz
demux_mkv: add support for HEVC
Note that you still need --vd-lavc-o='strict=-2' to enable the decoder. Also, there's no guarantee that all required features for HEVC demuxing are actually implemented, nor that the current muxing schema is the final one.
Diffstat (limited to 'demux')
-rw-r--r--demux/codec_tags.c1
-rw-r--r--demux/demux_mkv.c1
-rw-r--r--demux/matroska.h2
3 files changed, 4 insertions, 0 deletions
diff --git a/demux/codec_tags.c b/demux/codec_tags.c
index ba3472dda3..66489aae03 100644
--- a/demux/codec_tags.c
+++ b/demux/codec_tags.c
@@ -313,6 +313,7 @@ static const struct mp_codec_tag mp_video_codec_tags[] = {
{MKTAG('C', '9', '3', 'V'), "c93"},
{MKTAG('V', 'P', '9', '0'), "vp9"},
{MKTAG('p', 'r', '0', '0'), "prores"},
+ {MKTAG('H', 'E', 'V', 'C'), "hevc"},
{0},
};
diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c
index bbbe88d903..438697abed 100644
--- a/demux/demux_mkv.c
+++ b/demux/demux_mkv.c
@@ -1169,6 +1169,7 @@ static const videocodec_info_t vinfo[] = {
{MKV_V_VP9, mmioFOURCC('V', 'P', '9', '0'), 0},
{MKV_V_DIRAC, mmioFOURCC('d', 'r', 'a', 'c'), 0},
{MKV_V_PRORES, mmioFOURCC('p', 'r', '0', '0'), 0},
+ {MKV_V_HEVC, mmioFOURCC('H', 'E', 'V', 'C'), 1},
{NULL, 0, 0}
};
diff --git a/demux/matroska.h b/demux/matroska.h
index 262686dcd5..796f6c24d3 100644
--- a/demux/matroska.h
+++ b/demux/matroska.h
@@ -80,6 +80,8 @@
#define MKV_V_UNCOMPRESSED "V_UNCOMPRESSED"
#define MKV_V_DIRAC "V_DIRAC"
#define MKV_V_PRORES "V_PRORES"
+#define MKV_V_PRORES "V_PRORES"
+#define MKV_V_HEVC "V_MPEGH/ISO/HEVC"
#define MKV_S_TEXTASCII "S_TEXT/ASCII"
#define MKV_S_TEXTUTF8 "S_TEXT/UTF8"