GnlOperation

GnlOperation — Encapsulates filters/effects for use with GNL Objects

Properties

gint sinks Read / Write

Signals

void input-priority-changed Run Last

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstBin
                    ╰── GnlObject
                        ╰── GnlOperation

Implemented Interfaces

GnlOperation implements GstChildProxy.

Description

A GnlOperation performs a transformation or mixing operation on the data from one or more GnlSources, which is used to implement filters or effects.

Synopsis

Element Information

plugin

gnonlin

author

Wim Taymans <wim.taymans@gmail.com>, Edward Hervey <bilboed@bilboed.com>

class

Filter/Editor

Element Pads

name

sink%d

direction

sink

presence

request

details

ANY

name

src

direction

source

presence

sometimes

details

ANY

Functions

Types and Values

GnlOperation

typedef struct _GnlOperation GnlOperation;

Property Details

The “sinks” property

  “sinks”                    gint

Specifies the number of sink pads the operation should provide. If the sinks property is -1 (the default) pads are only created as demanded via get_request_pad() calls on the element.

Flags: Read / Write

Allowed values: >= G_MAXULONG

Default value: -1

Signal Details

The “input-priority-changed” signal

void
user_function (GnlOperation *gnloperation,
               GstPad       *arg1,
               guint         arg2,
               gpointer      user_data)

Parameters

gnloperation

the object which received the signal.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last