| Top |
| gfloat | brightness | Read / Write / Construct |
| gfloat | contrast | Read / Write / Construct |
| GstVaapiDisplayType | display | Read / Write |
| gchar * | display-name | Read / Write |
| gboolean | force-aspect-ratio | Read / Write |
| gboolean | fullscreen | Read / Write |
| gfloat | hue | Read / Write / Construct |
| GstVaapiRotation | rotation | Read / Write |
| gfloat | saturation | Read / Write / Construct |
| gboolean | signal-handoffs | Read / Write |
| gint | view-id | Read / Write |
GObject
╰── GInitiallyUnowned
╰── GstObject
╰── GstElement
╰── GstBaseSink
╰── GstVideoSink
╰── GstVaapiSink
vaapisink renders video frames to a drawable (X Window) on a local display using the Video Acceleration (VA) API. The element will create its own internal window and render into it.
“brightness” property “brightness” gfloat
The VA display brightness, expressed as a float value. Range is -1.0 to 1.0. Default value is 0.0 and represents no modification.
Flags: Read / Write / Construct
Allowed values: [-1,1]
Default value: 0
“contrast” property “contrast” gfloat
The VA display contrast, expressed as a float value. Range is 0.0 to 2.0. Default value is 1.0 and represents no modification.
Flags: Read / Write / Construct
Allowed values: [0,2]
Default value: 1
“display” property “display” GstVaapiDisplayType
The type of display to use.
Flags: Read / Write
Default value: Auto detection
“display-name” property “display-name” gchar *
The native display name.
Flags: Read / Write
Default value: NULL
“force-aspect-ratio” property “force-aspect-ratio” gboolean
When enabled, scaling respects video aspect ratio; when disabled, the video is distorted to fit the window.
Flags: Read / Write
Default value: TRUE
“fullscreen” property “fullscreen” gboolean
Selects whether fullscreen mode is enabled or not.
Flags: Read / Write
Default value: FALSE
“hue” property “hue” gfloat
The VA display hue, expressed as a float value. Range is -180.0 to 180.0. Default value is 0.0 and represents no modification.
Flags: Read / Write / Construct
Allowed values: [-180,180]
Default value: 0
“rotation” property “rotation” GstVaapiRotation
The VA display rotation mode, expressed as a GstVaapiRotation.
Flags: Read / Write
Default value: Unrotated mode
“saturation” property “saturation” gfloat
The VA display saturation, expressed as a float value. Range is 0.0 to 2.0. Default value is 1.0 and represents no modification.
Flags: Read / Write / Construct
Allowed values: [0,2]
Default value: 1
“signal-handoffs” property “signal-handoffs” gboolean
Send a signal after rendering the buffer.
Flags: Read / Write
Default value: FALSE
“view-id” property “view-id” gint
When not set to -1, the displayed frame will always be the one that matches the view-id of the very first displayed frame. Any other number will indicate the desire to display the supplied view-id only.
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“handoff” signalvoid user_function (GstVaapiSink *object, GstBuffer *buffer, gpointer user_data)
This signal gets emitted after rendering the frame.
object |
the GstVaapiSink instance |
|
buffer |
the buffer that was rendered |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last