From 4f828676fd5aa81ded1be596440ab7c978c48be7 Mon Sep 17 00:00:00 2001 From: MartinEesmaa Date: Sun, 28 Apr 2024 20:51:11 +1000 Subject: [PATCH] demux: support VVC Matroska demux This allows to demux Versatile Video Codec with Matroska container to play. --- demux/demux_lavf.c | 1 + demux/demux_mkv.c | 1 + 2 files changed, 2 insertions(+) diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 75a47ed3ad..182642494e 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -184,6 +184,7 @@ static const struct format_hack format_hacks[] = { // In theory, such streams might contain timestamps, but virtually none do. {"h264", .if_flags = AVFMT_NOTIMESTAMPS }, {"hevc", .if_flags = AVFMT_NOTIMESTAMPS }, + {"vvc", .if_flags = AVFMT_NOTIMESTAMPS }, // Some Ogg shoutcast streams are essentially concatenated OGG files. They // reset timestamps, which causes all sorts of problems. diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c index 443cec03a5..9bee8a4011 100644 --- a/demux/demux_mkv.c +++ b/demux/demux_mkv.c @@ -1461,6 +1461,7 @@ static const char *const mkv_video_tags[][2] = { {"V_DIRAC", "dirac"}, {"V_PRORES", "prores"}, {"V_MPEGH/ISO/HEVC", "hevc"}, + {"V_MPEGI/ISO/VVC", "vvc"}, {"V_SNOW", "snow"}, {"V_AV1", "av1"}, {"V_PNG", "png"},