diff --git a/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json b/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json index fb957b11b1..3a4fde1bf5 100644 --- a/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json +++ b/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json @@ -230406,6 +230406,17 @@ "readable": true, "type": "gboolean", "writable": true + }, + "render-rectangle": { + "blurb": "The render rectangle ('')", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "mutable": "null", + "readable": false, + "type": "GstValueArray", + "writable": true } }, "rank": "marginal" diff --git a/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c b/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c index 2f2a21f30b..1a2eed2d75 100644 --- a/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c +++ b/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c @@ -59,7 +59,8 @@ enum { PROP_0, PROP_DISPLAY, - PROP_FULLSCREEN + PROP_FULLSCREEN, + PROP_LAST }; GST_DEBUG_CATEGORY (gstwayland_debug); @@ -160,6 +161,16 @@ gst_wayland_sink_class_init (GstWaylandSinkClass * klass) g_param_spec_boolean ("fullscreen", "Fullscreen", "Whether the surface should be made fullscreen ", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + + /** + * waylandsink:render-rectangle: + * + * This helper installs the "render-rectangle" property into the + * class. + * + * Since: 1.22 + */ + gst_video_overlay_install_properties (gobject_class, PROP_LAST); } static void