![]() |
![]() |
![]() |
Rhythmbox Development Reference Manual | ![]() |
---|---|---|---|---|
#include <rb-player-gst-filter.h> RBPlayerGstFilter; gboolean rb_player_gst_filter_add_filter (RBPlayerGstFilter *player, GstElement *element); gboolean rb_player_gst_filter_remove_filter (RBPlayerGstFilter *player, GstElement *element);
This interface allows a caller to add filter elements to the GStreamer playback pipeline.
gboolean rb_player_gst_filter_add_filter (RBPlayerGstFilter *player, GstElement *element);
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.
|
RBPlayerGstFilter implementation |
|
new filter element (or bin) to add |
Returns : |
TRUE if the filter will be added |
gboolean rb_player_gst_filter_remove_filter (RBPlayerGstFilter *player, GstElement *element);
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.
|
RBPlayerGstFilter implementation |
|
the filter element (or bin) to remove |
Returns : |
TRUE if the filter was found and will be removed |
"filter-inserted"
signalvoid user_function (RBPlayerGstFilter *player, GObject *filter, gpointer user_data) : Run Last / No Recursion
The 'filter-inserted' signal is emitted when the tee element has been inserted into the pipeline and fully linked
|
the RBPlayerGstFilter implementation |
|
the element which has been inserted |
|
user data set when the signal handler was connected. |
"filter-pre-remove"
signalvoid user_function (RBPlayerGstFilter *player, GObject *filter, gpointer user_data) : Run Last / No Recursion
The 'filter-pre-remove' signal is emitted immediately before the element is unlinked and removed from the pipeline
|
the RBPlayerGstFilter implementation |
|
the element which is about to be removed |
|
user data set when the signal handler was connected. |