# qroverlay

Element to set random data on a qroverlay.

## Example launch line

    gst-launch -v -m videotestsrc ! qroverlay ! fakesink silent=TRUE

Since 1.22 the `qroverlay` element also supports a GstCustomMeta called `GstQROverlayMeta` which allows upstream elements to set the data to be rendered on the buffers that flow through it. This custom meta GstStructure has the following fields:

- gchar* `data` (mandatory): The data to use to render the qrcode.
- gboolean `keep_data` (mandatory): Set to TRUE if the data from that metadata should be used as data

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──GstBaseQROverlay
                                ╰──qroverlay

## Factory details

Authors: – Thibault Saunier <tsaunier></tsaunier>

Classification: – `Qrcode overlay containing random data`

Rank – none

Plugin – qroverlay

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { I420 }
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 16, 2147483647 ]
             height: [ 16, 2147483647 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: { I420 }
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 16, 2147483647 ]
             height: [ 16, 2147483647 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### data

    “data” gchararray

Data to write in the QRCode to be overlaid

Flags : Read / Write

Default value : NULL

The results of the search are