glfilterapp

glfilterapp

Synopsis

struct              GstGLFilterApp;

Properties

  "client-draw-callback"     gpointer              : Write
  "client-reshape-callback"  gpointer              : Write
  "client-data"              gpointer              : Write

Description

The resize and redraw callbacks can be set from a client code.

CLient callbacks

The graphic scene can be written from a client code through the two glfilterapp properties.


Examples

see gst-plugins-gl/tests/examples/generic/recordgraphic

Details

struct GstGLFilterApp

struct GstGLFilterApp {
    GstGLFilter filter;

    CRCB clientReshapeCallback;
    GLCB clientDrawCallback;
    gpointer client_data;
};

Property Details

The "client-draw-callback" property

  "client-draw-callback"     gpointer              : Write

Define a custom draw callback in a client code.


The "client-reshape-callback" property

  "client-reshape-callback"  gpointer              : Write

Define a custom reshape callback in a client code.


The "client-data" property

  "client-data"              gpointer              : Write

Pass data to the draw and reshape callbacks.