# avsamplebufferlayersink

avsamplebufferlayersink renders video frames to a CALayer that can placed inside a Core Animation render tree.

## Hierarchy

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

## Factory details

Authors: – Matthew Waters

Classification: – `Sink/Video`

Rank – none

Plugin – applemedia

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { RGB, BGR, ARGB, BGRA, ABGR, RGBA, YUY2, UYVY, NV12, I420 }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

## Properties

### force-aspect-ratio

    “force-aspect-ratio” gboolean

When enabled, scaling will respect original aspect ratio

Flags : Read / Write

Default value : true

### layer

    “layer” gpointer

The CoreAnimation layer that can be placed in the render tree

Flags : Read

The results of the search are