GstSingleFilterManager

GstSingleFilterManager — A filter manager that can only be applied once

Synopsis

#include <gst/filters/gst-single-filter-manager.h>

                    GstSingleFilterManager;
GstFilterManager *  gst_single_filter_manager_new       (void);

Object Hierarchy

  GObject
   +----GstSingleFilterManager

Implemented Interfaces

GstSingleFilterManager implements GstFilterManager.

Properties

  "applied"                  gboolean              : Read
  "applied-bin"              GstBin*               : Read
  "applied-pad"              GstPad*               : Read
  "out-pad"                  GstPad*               : Read

Signals

  "filter-applied"                                 : Has Details
  "filter-failed"                                  : Has Details
  "filter-reverted"                                : Has Details

Description

This class, implementing the GstFilterManager interface can only be applied once on a single pad.

See also GstFilterManager

Details

GstSingleFilterManager

typedef struct _GstSingleFilterManager GstSingleFilterManager;

A filter manager that can only be applied once at a time


gst_single_filter_manager_new ()

GstFilterManager *  gst_single_filter_manager_new       (void);

Creates a Single filter manager. The Single filter manager is a filter manager that can only be applied once.

Returns :

A new GstFilterManager. [transfer full]

Property Details

The "applied" property

  "applied"                  gboolean              : Read

Whether or not this filter manager has been applied on a pad or not

Default value: FALSE


The "applied-bin" property

  "applied-bin"              GstBin*               : Read

The GstBin this filter manager was applied on or NULL if not applied yet


The "applied-pad" property

  "applied-pad"              GstPad*               : Read

The GstPad this filter manager was applied on or NULL if not applied yet


The "out-pad" property

  "out-pad"                  GstPad*               : Read

The output GstPad at the end of this filter manager or NULL if not applied yet.

See also: gst_filter_manager_revert()

Signal Details

The "filter-applied" signal

void                user_function                      (GstSingleFilterManager *filter_manager,
                                                        gpointer                filter_id,
                                                        gpointer                user_data)           : Has Details

This signal is sent when the filter manager applies a filter and the application was successful.

filter_manager :

The GstSingleFilterManager

filter_id :

The GstFilterId of the filter that was applied

user_data :

user data set when the signal handler was connected.

The "filter-failed" signal

void                user_function                      (GstSingleFilterManager *filter_manager,
                                                        gpointer                filter_id,
                                                        gpointer                user_data)           : Has Details

This signal is sent when a filter fails to apply in the filter manager

filter_manager :

The GstSingleFilterManager

filter_id :

The GstFilterId of the filter that failed to apply

user_data :

user data set when the signal handler was connected.

The "filter-reverted" signal

void                user_function                      (GstSingleFilterManager *filter_manager,
                                                        gpointer                filter_id,
                                                        gpointer                user_data)           : Has Details

This signal is sent when a filter gets reverted from the filter manager.

filter_manager :

The GstSingleFilterManager

filter_id :

The GstFilterId of the filter that was reverted

user_data :

user data set when the signal handler was connected.