From a3037eb453ae86edccfd275c232eef20a13a0b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 16 Aug 2022 19:01:19 +0300 Subject: [PATCH] qtdemux: Set parsed=true on ONVIF Timed Metadata caps Inside MP4 the metadata must be properly parsed into frames and in order. Part-of: --- subprojects/gst-plugins-good/gst/isomp4/qtdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c index 4c17f08731..d9f118c3a1 100644 --- a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c +++ b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c @@ -15457,8 +15457,8 @@ qtdemux_meta_caps (GstQTDemux * qtdemux, QtDemuxStream * stream, || g_ascii_strcasecmp (content_encoding, "xml") == 0) { _codec ("ONVIF Timed XML MetaData"); caps = - gst_caps_new_simple ("application/x-onvif-metadata", "encoding", - G_TYPE_STRING, "utf8", NULL); + gst_caps_new_simple ("application/x-onvif-metadata", "parsed", + G_TYPE_BOOLEAN, TRUE, "encoding", G_TYPE_STRING, "utf8", NULL); } else { GST_DEBUG_OBJECT (qtdemux, "Unknown content encoding: %s", content_encoding);