gstvafilter: Add back missing property comments

In b1cda4439b the property comments
were removed, even though these are marked as public api.

Add back the comments, and a Since version for interpolation-method.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
This commit is contained in:
Jordan Petridis 2024-09-21 18:11:20 +03:00 committed by GStreamer Marge Bot
parent 5ac43063b6
commit 14c1bedb45
2 changed files with 30 additions and 4 deletions

View file

@ -243301,12 +243301,24 @@
"type": "gboolean",
"writable": true
},
"scale-method": {
"blurb": "Scale method to use",
"conditionally-available": false,
"interpolation-method": {
"blurb": "Interpolation method to use for scaling",
"conditionally-available": true,
"construct": false,
"construct-only": false,
"controllable": false,
"controllable": true,
"default": "default (0)",
"mutable": "playing",
"readable": true,
"type": "GstVaInterpolationMethod",
"writable": true
},
"scale-method": {
"blurb": "Scale method to use",
"conditionally-available": true,
"construct": false,
"construct-only": false,
"controllable": true,
"default": "default (0)",
"mutable": "playing",
"readable": true,

View file

@ -699,6 +699,13 @@ gst_va_filter_install_properties (GstVaFilter * self, GObjectClass * klass)
common_flags));
}
/**
* GstVaPostProc:scale-method
*
* Sets the scale method algorithm to use when resizing.
*
* Since: 1.22
*/
if (GST_VA_DISPLAY_IS_IMPLEMENTATION (self->display, INTEL_IHD)) {
g_object_class_install_property (klass,
GST_VA_FILTER_PROP_SCALE_METHOD,
@ -707,6 +714,13 @@ gst_va_filter_install_properties (GstVaFilter * self, GObjectClass * klass)
GST_TYPE_VA_SCALE_METHOD, VA_FILTER_SCALING_DEFAULT, common_flags));
}
/**
* GstVaPostProc:interpolation-method
*
* Sets the interpolation method algorithm to use when resizing.
*
* Since: 1.26
*/
if (GST_VA_DISPLAY_IS_IMPLEMENTATION (self->display, INTEL_IHD)) {
g_object_class_install_property (klass,
GST_VA_FILTER_PROP_INTERPOLATION_METHOD,