From 65327c1a8c3fe4beb2cd0dda84634993c7670545 Mon Sep 17 00:00:00 2001 From: Shengqi Yu Date: Thu, 25 Jul 2024 10:34:45 +0800 Subject: [PATCH] videoscale: correct classification error videoscale does not have convert function, so remove the convert description in it's classification. Otherwise, if we want use autovideoconvert to convert colorsapce, autovideoconvert will select videoscale to do convert and this will cause to fail. Part-of: --- .../gst-plugins-base/docs/plugins/gst_plugins_cache.json | 2 +- .../gst-plugins-base/gst/videoconvertscale/gstvideoscale.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json b/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json index cc5d060ab2..fdc3c515e0 100644 --- a/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json +++ b/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json @@ -14757,7 +14757,7 @@ "GInitiallyUnowned", "GObject" ], - "klass": "Filter/Converter/Video/Scaler", + "klass": "Filter/Video/Scaler", "long-name": "Video scaler", "pad-templates": { "sink": { diff --git a/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoscale.c b/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoscale.c index d866f0373b..d927f4c553 100644 --- a/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoscale.c +++ b/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoscale.c @@ -121,7 +121,7 @@ gst_video_scale_class_init (GstVideoScaleClass * klass) G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); gst_element_class_set_static_metadata (element_class, - "Video scaler", "Filter/Converter/Video/Scaler", + "Video scaler", "Filter/Video/Scaler", "Resizes video", "Wim Taymans "); convertscale_class->converts = FALSE;