diff --git a/docs/gst_plugins_cache.json b/docs/gst_plugins_cache.json index 8ccc2147d6..dc9b8d3bdc 100644 --- a/docs/gst_plugins_cache.json +++ b/docs/gst_plugins_cache.json @@ -26,7 +26,7 @@ "presence": "sometimes" }, "sink": { - "caps": "text/x-xptv:\napplication/xges:\n", + "caps": "application/xges:\ntext/x-xptv:\napplication/vnd.pixar.opentimelineio+json:\napplication/vnd.apple-xmeml+xml:\napplication/vnd.apple-fcp+xml:\n", "direction": "sink", "presence": "always" }, diff --git a/plugins/ges/gesdemux.c b/plugins/ges/gesdemux.c index 5291ff67ee..4c413d0b3c 100644 --- a/plugins/ges/gesdemux.c +++ b/plugins/ges/gesdemux.c @@ -48,6 +48,12 @@ GST_DEBUG_CATEGORY_STATIC (gesdemux); #define GST_CAT_DEFAULT gesdemux G_DECLARE_FINAL_TYPE (GESDemux, ges_demux, GES, DEMUX, GESBaseBin); +#define GES_DEMUX_DOC_CAPS \ + "application/xges;" \ + "text/x-xptv;" \ + "application/vnd.pixar.opentimelineio+json;" \ + "application/vnd.apple-xmeml+xml;" \ + "application/vnd.apple-fcp+xml;" \ struct _GESDemux { @@ -189,9 +195,10 @@ ges_demux_set_property (GObject * object, guint property_id, static void ges_demux_class_init (GESDemuxClass * self_class) { + GstPadTemplate *pad_template; GObjectClass *gclass = G_OBJECT_CLASS (self_class); GstElementClass *gstelement_klass = GST_ELEMENT_CLASS (self_class); - GstCaps *sinkpad_caps; + GstCaps *sinkpad_caps, *doc_caps; GST_DEBUG_CATEGORY_INIT (gesdemux, "gesdemux", 0, "ges demux element"); @@ -218,9 +225,12 @@ ges_demux_class_init (GESDemuxClass * self_class) "Demuxer for complex timeline file formats using GES.", "Thibault Saunier