Function
RBgst_remove_filter
Declaration [src]
gboolean
rb_gst_remove_filter (
RBPlayer* player,
GstElement* filterbin,
GstElement* element,
gboolean use_pad_block
)
Description [src]
Removes a filter from the filter bin, using pad blocking (if requested) to avoid breaking the data flow. Pad blocking should be used when the pipeline is in PLAYING state, or when in PAUSED state where a streaming thread will be holding the stream lock for the filter bin.
Parameters
player
-
Type:
RBPlayer
Player object (must implement
RBPlayerGstFilter
interface).The data is owned by the caller of the function. filterbin
-
Type:
GstElement
The filter bin.
The data is owned by the caller of the function. element
-
Type:
GstElement
The filter to remove.
The data is owned by the caller of the function. use_pad_block
-
Type:
gboolean
If
TRUE
, block the src pad connected to the filter bin.