From e71648e214d2995d5555cd0e1e9a91db6180781f Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Thu, 18 Feb 2021 00:36:43 +0100 Subject: [PATCH] videomixer: document as deprecated Part-of: --- docs/gst_plugins_cache.json | 2 +- gst/videomixer/videomixer2.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/gst_plugins_cache.json b/docs/gst_plugins_cache.json index 2139d876c5..a62a5a95ea 100644 --- a/docs/gst_plugins_cache.json +++ b/docs/gst_plugins_cache.json @@ -25138,7 +25138,7 @@ "elements": { "videomixer": { "author": "Wim Taymans , Sebastian Dröge ", - "description": "Mix multiple video streams", + "description": "Deprecated by compositor. Mix multiple video streams", "hierarchy": [ "GstVideoMixer2", "GstElement", diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index d225abbbf8..0ecc0c9224 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -22,6 +22,9 @@ * SECTION:element-videomixer * @title: videomixer * + * IMPORTANT: #videomixer is deprecated in favor of #compositor, please do not + * use this element in newly-written code! + * * Videomixer can accept AYUV, ARGB and BGRA video streams. For each of the requested * sink pads it will compare the incoming geometry and framerate to define the * output parameters. Indeed output video frames will have the geometry of the @@ -2230,7 +2233,8 @@ gst_videomixer2_class_init (GstVideoMixer2Class * klass) gst_element_class_set_static_metadata (gstelement_class, "Video mixer 2", "Filter/Editor/Video/Compositor", - "Mix multiple video streams", "Wim Taymans , " + "Deprecated by compositor. Mix multiple video streams", + "Wim Taymans , " "Sebastian Dröge "); /* Register the pad class */