RB.PlayerGstFilter¶
- Implementations:
 None
Methods¶
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
|
  | 
|
  | 
Properties¶
None
Signals¶
Name  | 
Short Description  | 
|---|---|
The ‘filter-inserted’ signal is emitted when the tee element has been inserted into the pipeline and fully linked  | 
|
The ‘filter-pre-remove’ signal is emitted immediately before the element is unlinked and removed from the pipeline  | 
Fields¶
None
Class Details¶
- class RB.PlayerGstFilter¶
 - Bases:
 - Structure:
 
This interface allows a caller to add filter elements to the GStreamer playback pipeline.
- add_filter(element)¶
 - Parameters:
 element (
Gst.Element) – new filter element (or bin) to add- Returns:
 Trueif the filter will be added- Return type:
 
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.
- remove_filter(element)¶
 - Parameters:
 element (
Gst.Element) – the filter element (or bin) to remove- Returns:
 Trueif the filter was found and will be removed- Return type:
 
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.
- do_add_filter(element) virtual¶
 - Parameters:
 element (
Gst.Element) – new filter element (or bin) to add- Returns:
 Trueif the filter will be added- Return type:
 
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.
- do_filter_inserted(filter) virtual¶
 - Parameters:
 filter (
Gst.Element) –
- do_filter_pre_remove(filter) virtual¶
 - Parameters:
 filter (
Gst.Element) –
- do_remove_filter(element) virtual¶
 - Parameters:
 element (
Gst.Element) – the filter element (or bin) to remove- Returns:
 Trueif the filter was found and will be removed- Return type:
 
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.
Signal Details¶
- RB.PlayerGstFilter.signals.filter_inserted(player_gst_filter, filter)¶
 - Signal Name:
 filter-inserted- Flags:
 - Parameters:
 player_gst_filter (
RB.PlayerGstFilter) – The object which received the signalfilter (
GObject.Object) – the element which has been inserted
The ‘filter-inserted’ signal is emitted when the tee element has been inserted into the pipeline and fully linked
- RB.PlayerGstFilter.signals.filter_pre_remove(player_gst_filter, filter)¶
 - Signal Name:
 filter-pre-remove- Flags:
 - Parameters:
 player_gst_filter (
RB.PlayerGstFilter) – The object which received the signalfilter (
GObject.Object) – the element which is about to be removed
The ‘filter-pre-remove’ signal is emitted immediately before the element is unlinked and removed from the pipeline