Function
RBgst_add_tee
Declaration [src]
gboolean
rb_gst_add_tee (
RBPlayer* player,
GstElement* tee,
GstElement* element,
gboolean use_pad_block
)
Description [src]
Attaches a branch to the tee, 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:
RBPlayerPlayer object (must implement
RBPlayerGstTeeinterface).The data is owned by the caller of the function. tee-
Type:
GstElementA tee element.
The data is owned by the caller of the function. element-
Type:
GstElementThe tee branch to add.
The data is owned by the caller of the function. use_pad_block-
Type:
gbooleanIf
TRUE, block the src pad connected to the filter bin.