Interface

RBPlayerGstFilter

Description [src]

interface RB.PlayerGstFilter : GObject.Object

This interface allows a caller to add filter elements to the GStreamer playback pipeline.

Prerequisite

In order to implement PlayerGstFilter, your type must inherit fromGObject.

Instance methods

rb_player_gst_filter_add_filter

Adds a new filter to the playback pipeline. The filter may not be inserted immediately. The ‘filter-inserted’ signal will be emitted when this actually happens.

rb_player_gst_filter_remove_filter

Removes a filter from the playback pipeline. The filter may not be removed immediately. The ‘filter-pre-remove’ signal will be emitted immediately before this actually happens.

Signals

RB.PlayerGstFilter::filter-inserted

The ‘filter-inserted’ signal is emitted when the tee element has been inserted into the pipeline and fully linked.

RB.PlayerGstFilter::filter-pre-remove

The ‘filter-pre-remove’ signal is emitted immediately before the element is unlinked and removed from the pipeline.

Interface structure

struct RBPlayerGstFilterIface {
  GTypeInterface g_iface;
  gboolean (* add_filter) (
    RBPlayerGstFilter* player,
    GstElement* element
  );
  gboolean (* remove_filter) (
    RBPlayerGstFilter* player,
    GstElement* element
  );
  void (* filter_inserted) (
    RBPlayerGstFilter* player,
    GstElement* filter
  );
  void (* filter_pre_remove) (
    RBPlayerGstFilter* player,
    GstElement* filter
  );
  
}

No description available.

Interface members
g_iface
GTypeInterface
 

No description available.

add_filter
gboolean (* add_filter) (
    RBPlayerGstFilter* player,
    GstElement* element
  )
 

No description available.

remove_filter
gboolean (* remove_filter) (
    RBPlayerGstFilter* player,
    GstElement* element
  )
 

No description available.

filter_inserted
void (* filter_inserted) (
    RBPlayerGstFilter* player,
    GstElement* filter
  )
 

No description available.

filter_pre_remove
void (* filter_pre_remove) (
    RBPlayerGstFilter* player,
    GstElement* filter
  )
 

No description available.

Virtual methods

RB.PlayerGstFilter.add_filter

Adds a new filter to the playback pipeline. The filter may not be inserted immediately. The ‘filter-inserted’ signal will be emitted when this actually happens.

RB.PlayerGstFilter.filter_inserted
No description available.

RB.PlayerGstFilter.filter_pre_remove
No description available.

RB.PlayerGstFilter.remove_filter

Removes a filter from the playback pipeline. The filter may not be removed immediately. The ‘filter-pre-remove’ signal will be emitted immediately before this actually happens.