From 4c8a621809a610d07d61cd69cd105c613aa13282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 30 Sep 2022 00:10:25 +0100 Subject: [PATCH] pbutils: descriptions: add meta/x-klv Part-of: --- .../gst-plugins-base/gst-libs/gst/pbutils/descriptions.c | 4 +++- subprojects/gst-plugins-base/tests/check/libs/pbutils.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c index 97186f2a91..2544aa9a98 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c @@ -332,7 +332,9 @@ static const FormatInfo formats[] = { {"video/x-wmv", NULL, FLAG_VIDEO, ""}, {"video/x-xan", NULL, FLAG_VIDEO, ""}, {"video/x-tscc", NULL, FLAG_VIDEO, ""}, - {"application/x-onvif-metadata", "ONVIF XML Timed MetaData", FLAG_METADATA, ""} + /* metadata */ + {"application/x-onvif-metadata", "ONVIF Timed Metadata", FLAG_METADATA, ""}, + {"meta/x-klv", "KLV Metadata", FLAG_METADATA, ""}, }; static const gchar * diff --git a/subprojects/gst-plugins-base/tests/check/libs/pbutils.c b/subprojects/gst-plugins-base/tests/check/libs/pbutils.c index e0f8926ce8..e22fdd1c60 100644 --- a/subprojects/gst-plugins-base/tests/check/libs/pbutils.c +++ b/subprojects/gst-plugins-base/tests/check/libs/pbutils.c @@ -272,7 +272,7 @@ static const struct FlagDescEntry {"video/x-h264", F_VIDEO}, {"audio/mpeg,mpegversion=4", F_AUDIO}, {"image/jpeg", F_IMAGE | F_VIDEO}, - // FIXME: {"meta/x-klv", F_META}, + {"meta/x-klv", F_META}, {"application/x-onvif-metadata", F_META}, {"random/x-nonsense, sense=false", 0}, };