playback: add onvif metadata caps to raw caps
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 22 Jul 2022 11:41:17 +0000 (13:41 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 24 Aug 2022 09:21:18 +0000 (12:21 +0300)
+ remove encoding from x-onvif-metadata caps output by qtdemux

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2889>

subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json
subprojects/gst-plugins-base/gst/playback/gstrawcaps.h
subprojects/gst-plugins-good/gst/isomp4/qtdemux.c

index d666e2d..5014d23 100644 (file)
                         "construct": false,
                         "construct-only": false,
                         "controllable": false,
-                        "default": "video/x-raw(ANY); audio/x-raw(ANY); text/x-raw(ANY); subpicture/x-dvd; subpicture/x-dvb; subpicture/x-xsub; subpicture/x-pgs; closedcaption/x-cea-608; closedcaption/x-cea-708",
+                        "default": "video/x-raw(ANY); audio/x-raw(ANY); text/x-raw(ANY); subpicture/x-dvd; subpicture/x-dvb; subpicture/x-xsub; subpicture/x-pgs; closedcaption/x-cea-608; closedcaption/x-cea-708; application/x-onvif-metadata",
                         "mutable": "null",
                         "readable": true,
                         "type": "GstCaps",
                         "construct": false,
                         "construct-only": false,
                         "controllable": false,
-                        "default": "video/x-raw(ANY); audio/x-raw(ANY); text/x-raw(ANY); subpicture/x-dvd; subpicture/x-dvb; subpicture/x-xsub; subpicture/x-pgs; closedcaption/x-cea-608; closedcaption/x-cea-708",
+                        "default": "video/x-raw(ANY); audio/x-raw(ANY); text/x-raw(ANY); subpicture/x-dvd; subpicture/x-dvb; subpicture/x-xsub; subpicture/x-pgs; closedcaption/x-cea-608; closedcaption/x-cea-708; application/x-onvif-metadata",
                         "mutable": "null",
                         "readable": true,
                         "type": "GstCaps",
                         "construct": false,
                         "construct-only": false,
                         "controllable": false,
-                        "default": "video/x-raw(ANY); audio/x-raw(ANY); text/x-raw(ANY); subpicture/x-dvd; subpicture/x-dvb; subpicture/x-xsub; subpicture/x-pgs; closedcaption/x-cea-608; closedcaption/x-cea-708",
+                        "default": "video/x-raw(ANY); audio/x-raw(ANY); text/x-raw(ANY); subpicture/x-dvd; subpicture/x-dvb; subpicture/x-xsub; subpicture/x-pgs; closedcaption/x-cea-608; closedcaption/x-cea-708; application/x-onvif-metadata",
                         "mutable": "null",
                         "readable": true,
                         "type": "GstCaps",
                         "construct": false,
                         "construct-only": false,
                         "controllable": false,
-                        "default": "video/x-raw(ANY); audio/x-raw(ANY); text/x-raw(ANY); subpicture/x-dvd; subpicture/x-dvb; subpicture/x-xsub; subpicture/x-pgs; closedcaption/x-cea-608; closedcaption/x-cea-708",
+                        "default": "video/x-raw(ANY); audio/x-raw(ANY); text/x-raw(ANY); subpicture/x-dvd; subpicture/x-dvb; subpicture/x-xsub; subpicture/x-pgs; closedcaption/x-cea-608; closedcaption/x-cea-708; application/x-onvif-metadata",
                         "mutable": "null",
                         "readable": true,
                         "type": "GstCaps",
index 1fc1d7d..a3f2c00 100644 (file)
@@ -34,7 +34,8 @@ G_BEGIN_DECLS
     "subpicture/x-xsub; " \
     "subpicture/x-pgs; " \
     "closedcaption/x-cea-608; " \
-    "closedcaption/x-cea-708"
+    "closedcaption/x-cea-708; " \
+    "application/x-onvif-metadata; "
 
 G_END_DECLS
 
index 7ce652a..7c65784 100644 (file)
@@ -15459,7 +15459,7 @@ qtdemux_meta_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
           _codec ("ONVIF Timed XML MetaData");
           caps =
               gst_caps_new_simple ("application/x-onvif-metadata", "parsed",
-              G_TYPE_BOOLEAN, TRUE, "encoding", G_TYPE_STRING, "utf8", NULL);
+              G_TYPE_BOOLEAN, TRUE, NULL);
         } else {
           GST_DEBUG_OBJECT (qtdemux, "Unknown content encoding: %s",
               content_encoding);