mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
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:
parent
eba5405512
commit
65327c1a8c
2 changed files with 2 additions and 2 deletions
|
@ -14757,7 +14757,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": {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue