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/7235>
This commit is contained in:
Shengqi Yu 2024-07-25 10:34:45 +08:00 committed by GStreamer Marge Bot
parent eba5405512
commit 65327c1a8c
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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 <wim.taymans@gmail.com>");
convertscale_class->converts = FALSE;