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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7215>
This commit is contained in:
Shengqi Yu 2024-07-25 10:34:45 +08:00 committed by GStreamer Marge Bot
parent 0f537919a2
commit df28aceb49
2 changed files with 2 additions and 2 deletions

View file

@ -14856,7 +14856,7 @@
"GInitiallyUnowned", "GInitiallyUnowned",
"GObject" "GObject"
], ],
"klass": "Filter/Converter/Video/Scaler", "klass": "Filter/Video/Scaler",
"long-name": "Video scaler", "long-name": "Video scaler",
"pad-templates": { "pad-templates": {
"sink": { "sink": {

View file

@ -121,7 +121,7 @@ gst_video_scale_class_init (GstVideoScaleClass * klass)
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (element_class, gst_element_class_set_static_metadata (element_class,
"Video scaler", "Filter/Converter/Video/Scaler", "Video scaler", "Filter/Video/Scaler",
"Resizes video", "Wim Taymans <wim.taymans@gmail.com>"); "Resizes video", "Wim Taymans <wim.taymans@gmail.com>");
convertscale_class->converts = FALSE; convertscale_class->converts = FALSE;