Top | ![]() |
![]() |
![]() |
![]() |
GstPad * | alloc-pad | Read / Write |
gboolean | has-chain | Read / Write / Construct |
gchar * | last-message | Read |
gint | num-src-pads | Read |
GstTeePullMode | pull-mode | Read / Write / Construct |
gboolean | silent | Read / Write / Construct |
Split data to multiple pads. Branching the data flow is useful when e.g. capturing a video where the video is shown on the screen and also encoded and written to a file. Another example is playing music and hooking up a visualisation module.
One needs to use separate queue elements (or a multiqueue) in each branch to provide separate threads for each branch. Otherwise a blocked dataflow in one branch would stall the other branches.
1 |
gst-launch filesrc location=song.ogg ! decodebin ! tee name=t ! queue ! autoaudiosink t. ! queue ! audioconvert ! goom ! videoconvert ! autovideosink |
plugin |
coreelements |
author |
Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com> |
class |
Generic |
“alloc-pad”
property“alloc-pad” GstPad *
The pad ALLOCATION queries will be proxied to (unused).
Flags: Read / Write
“has-chain”
property “has-chain” gboolean
If the element can operate in push mode.
Flags: Read / Write / Construct
Default value: TRUE
“last-message”
property “last-message” gchar *
The message describing current status.
Flags: Read
Default value: NULL
“num-src-pads”
property “num-src-pads” gint
The number of source pads.
Flags: Read
Allowed values: >= 0
Default value: 0
“pull-mode”
property“pull-mode” GstTeePullMode
Behavior of tee in pull mode.
Flags: Read / Write / Construct
Default value: Never activate in pull mode