| Top |
| gint | connector-id | Read / Write / Construct |
| gchar * | driver-name | Read / Write / Construct |
| gint | plane-id | Read / Write / Construct |
| gboolean | force-modesetting | Read / Write / Construct |
| gchar * | bus-id | Read / Write / Construct |
| gboolean | can-scale | Read / Write / Construct |
| gint | display-height | Read |
| gint | display-width | Read |
| GstValueArray | render-rectangle | Write |
| GstStructure * | connector-properties | Read / Write |
| gboolean | force-aspect-ratio | Read / Write |
| GstStructure * | plane-properties | Read / Write |
| gboolean | restore-crtc | Read / Write / Construct |
| GstKMSSyncMode | sync-mode | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSink ╰── GstVideoSink ╰── GstKMSSink
kmssink is a simple video sink that renders video frames directly in a plane of a DRM device.
“connector-id” property“connector-id” gint
DRM connector id.
Flags: Read / Write / Construct
Allowed values: >= G_MAXULONG
Default value: -1
“driver-name” property“driver-name” gchar *
DRM device driver name.
Flags: Read / Write / Construct
Default value: NULL
“plane-id” property“plane-id” gint
DRM plane id.
Flags: Read / Write / Construct
Allowed values: >= G_MAXULONG
Default value: -1
“force-modesetting” property“force-modesetting” gboolean
When enabled, the sink try to configure the display mode.
Flags: Read / Write / Construct
Default value: FALSE
“bus-id” property“bus-id” gchar *
DRM bus ID.
Flags: Read / Write / Construct
Default value: NULL
“can-scale” property“can-scale” gboolean
User can tell kmssink if the driver can support scale.
Flags: Read / Write / Construct
Default value: TRUE
“display-height” property“display-height” gint
Height of the display surface in pixels.
Flags: Read
Allowed values: >= 0
Default value: 0
“display-width” property“display-width” gint
Width of the display surface in pixels.
Flags: Read
Allowed values: >= 0
Default value: 0
“render-rectangle” property“render-rectangle” GstValueArray
The render rectangle ('<x, y, width, height>').
Flags: Write
“connector-properties” property“connector-properties” GstStructure *
Additionnal properties for the connector.
Flags: Read / Write
“force-aspect-ratio” property“force-aspect-ratio” gboolean
When enabled, scaling will respect original aspect ratio.
Flags: Read / Write
Default value: TRUE
“plane-properties” property“plane-properties” GstStructure *
Additionnal properties for the plane.
Flags: Read / Write
“restore-crtc” property“restore-crtc” gboolean
When enabled and CRTC was set with a new mode, previous CRTC mode willbe restored when going to NULL state.
Flags: Read / Write / Construct
Default value: TRUE