We already implement the `set_render_rectangle` videooverlay interface,
thus install the videooverlay property accordingly.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2479>
"readable": true,
"type": "gboolean",
"writable": true
"readable": true,
"type": "gboolean",
"writable": true
+ },
+ "render-rectangle": {
+ "blurb": "The render rectangle ('<x, y, width, height>')",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "mutable": "null",
+ "readable": false,
+ "type": "GstValueArray",
+ "writable": true
+ PROP_FULLSCREEN,
+ PROP_LAST
};
GST_DEBUG_CATEGORY (gstwayland_debug);
};
GST_DEBUG_CATEGORY (gstwayland_debug);
g_param_spec_boolean ("fullscreen", "Fullscreen",
"Whether the surface should be made fullscreen ", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
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);