| Top |
| GstGLContext * | context | Read |
| gboolean | force-aspect-ratio | Read / Write |
| gboolean | handle-events | Read / Write |
| gboolean | ignore-alpha | Read / Write |
| GstGLStereoDownmix | output-multiview-downmix-mode | Read / Write |
| GstVideoMultiviewFlags | output-multiview-flags | Read / Write |
| GstVideoMultiviewMode | output-multiview-mode | Read / Write |
| GstFraction | pixel-aspect-ratio | Read / Write |
| GstGLRotateMethod | rotate-method | Read / Write |
| GstValueArray | render-rectangle | Write |
GObject
╰── GInitiallyUnowned
╰── GstObject
╰── GstElement
╰── GstBaseSink
╰── GstVideoSink
╰── GstGLImageSink
name |
sink |
direction |
sink |
presence |
always |
details |
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string){ 2D, external-oes } |
| video/x-raw(memory:GLMemory, meta:GstVideoOverlayComposition), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string){ 2D, external-oes } |
“force-aspect-ratio” property “force-aspect-ratio” gboolean
When enabled, scaling will respect original aspect ratio.
Flags: Read / Write
Default value: TRUE
“handle-events” property “handle-events” gboolean
When enabled, XEvents will be selected and handled.
Flags: Read / Write
Default value: TRUE
“ignore-alpha” property “ignore-alpha” gboolean
When enabled, alpha will be ignored and converted to black.
Flags: Read / Write
Default value: TRUE
“output-multiview-downmix-mode” property“output-multiview-downmix-mode” GstGLStereoDownmix
Output anaglyph type to generate when downmixing to mono.
Flags: Read / Write
Default value: Dubois optimised Green-Magenta anaglyph
“output-multiview-flags” property“output-multiview-flags” GstVideoMultiviewFlags
Output multiview layout modifier flags.
Flags: Read / Write
“output-multiview-mode” property“output-multiview-mode” GstVideoMultiviewMode
Choose output mode for multiview/3D video.
Flags: Read / Write
Default value: GST_VIDEO_MULTIVIEW_MODE_MONO
“pixel-aspect-ratio” property “pixel-aspect-ratio” GstFraction
The pixel aspect ratio of the device.
Flags: Read / Write
“rotate-method” property “rotate-method” GstGLRotateMethod
rotate method.
Flags: Read / Write
Default value: Identity (no rotation)
“render-rectangle” property“render-rectangle” GstValueArray
The render rectangle ('<x, y, width, height>').
Flags: Write
“client-draw” signalgboolean user_function (GstGLImageSink *object, GstGLContext *texture, GstSample *width, gpointer user_data)
Will be emitted before actually drawing the texture. The client should
redraw the surface/contents with the texture
, width
and height
and
and return TRUE.
object |
the GstGLImageSink |
|
texture |
the guint id of the texture. |
|
width |
the guint width of the texture. |
|
height |
the guint height of the texture. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“client-reshape” signalgboolean user_function (GstGLImageSink *object, GstGLContext *width, guint height, guint Returns, gpointer user_data)
The client should resize the surface/window/viewport with the width
and
height
and return TRUE.
object |
the GstGLImageSink |
|
width |
the guint width of the texture. |
|
height |
the guint height of the texture. |
|
user_data |
user data set when the signal handler was connected. |
whether the content area was resized by the signal. If not, a default viewport resize will occur.
Flags: Run Last