# waylandsink

The waylandsink is creating its own window and render the decoded video frames to that. Setup the Wayland environment as described in Wayland home page.

The current implementation is based on weston compositor.

## Example pipelines

     gst-launch-1.0 -v videotestsrc ! waylandsink

test the video rendering in wayland

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSink
                        ╰──GstVideoSink
                            ╰──waylandsink

## Implemented interfaces

    GstVideoOverlay

## Factory details

Authors: – Sreerenj Balachandran , George Kiagiadakis

Classification: – `Sink/Video`

Rank – marginal

Plugin – waylandsink

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw(memory:DMABuf):
             format: DMA_DRM
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-raw:
             format: { BGR10A2_LE, RGB10A2_LE, AYUV, RGBA, ARGB, BGRA, ABGR, BGR10x2_LE, RGB10x2_LE, P010_10LE, NV12_10LE40, Y444, v308, RGBx, xRGB, BGRx, xBGR, RGB, BGR, Y42B, NV16, NV61, YUY2, YVYU, UYVY, I420, YV12, NV12, NV21, Y41B, YUV9, YVU9, BGR16, RGB16 }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

## Properties

### display

    “display” gchararray

Wayland display name to connect to, if not supplied via the GstContext

Flags : Read / Write

Default value : NULL

### drm-device

    “drm-device” gchararray

Flags : Read / Write / Construct Only

Default value : NULL

Since : 1.24

### force-aspect-ratio

    “force-aspect-ratio” gboolean

Flags : Read / Write

Default value : true

Since : 1.28

### fullscreen

    “fullscreen” gboolean

Whether the surface should be made fullscreen

Flags : Read / Write

Default value : false

### fullscreen-output

    “fullscreen-output” gchararray

Flags : Read / Write

Default value : NULL

Since : 1.28

### render-rectangle

    “render-rectangle” GstValueArray *

This helper installs the "render-rectangle" property into the class.

Flags : Read / Write

Since : 1.22

### rotate-method

    “rotate-method” GstVideoOrientationMethod *

Flags : Read / Write

Default value : identity (0)

Since : 1.22

The results of the search are