mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
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:
parent
eedaf10359
commit
a3037eb453
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue