mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
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:
parent
5ac43063b6
commit
14c1bedb45
2 changed files with 30 additions and 4 deletions
|
@ -243301,12 +243301,24 @@
|
||||||
"type": "gboolean",
|
"type": "gboolean",
|
||||||
"writable": true
|
"writable": true
|
||||||
},
|
},
|
||||||
"scale-method": {
|
"interpolation-method": {
|
||||||
"blurb": "Scale method to use",
|
"blurb": "Interpolation method to use for scaling",
|
||||||
"conditionally-available": false,
|
"conditionally-available": true,
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": 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)",
|
"default": "default (0)",
|
||||||
"mutable": "playing",
|
"mutable": "playing",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
|
|
|
@ -699,6 +699,13 @@ gst_va_filter_install_properties (GstVaFilter * self, GObjectClass * klass)
|
||||||
common_flags));
|
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)) {
|
if (GST_VA_DISPLAY_IS_IMPLEMENTATION (self->display, INTEL_IHD)) {
|
||||||
g_object_class_install_property (klass,
|
g_object_class_install_property (klass,
|
||||||
GST_VA_FILTER_PROP_SCALE_METHOD,
|
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));
|
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)) {
|
if (GST_VA_DISPLAY_IS_IMPLEMENTATION (self->display, INTEL_IHD)) {
|
||||||
g_object_class_install_property (klass,
|
g_object_class_install_property (klass,
|
||||||
GST_VA_FILTER_PROP_INTERPOLATION_METHOD,
|
GST_VA_FILTER_PROP_INTERPOLATION_METHOD,
|
||||||
|
|
Loading…
Reference in a new issue