qtdemux: Set parsed=true on ONVIF Timed Metadata caps

Inside MP4 the metadata must be properly parsed into frames and in
order.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2897>
This commit is contained in:
Sebastian Dröge 2022-08-16 19:01:19 +03:00 committed by GStreamer Marge Bot
parent eedaf10359
commit a3037eb453

View file

@ -15457,8 +15457,8 @@ qtdemux_meta_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|| g_ascii_strcasecmp (content_encoding, "xml") == 0) { || g_ascii_strcasecmp (content_encoding, "xml") == 0) {
_codec ("ONVIF Timed XML MetaData"); _codec ("ONVIF Timed XML MetaData");
caps = caps =
gst_caps_new_simple ("application/x-onvif-metadata", "encoding", gst_caps_new_simple ("application/x-onvif-metadata", "parsed",
G_TYPE_STRING, "utf8", NULL); G_TYPE_BOOLEAN, TRUE, "encoding", G_TYPE_STRING, "utf8", NULL);
} else { } else {
GST_DEBUG_OBJECT (qtdemux, "Unknown content encoding: %s", GST_DEBUG_OBJECT (qtdemux, "Unknown content encoding: %s",
content_encoding); content_encoding);