Direct one out of N input streams to the output pad.
The input pads are from a GstPad subclass and have additional properties, which users may find useful, namely:
Authors: â Julien Moutte , Jan Schmidt , Wim Taymans
Classification: â Generic
Rank â none
Plugin â coreelements
Package â GStreamer
Pad Templatessink_%u
ANY
Presence â request
Direction â sink
Object type â GstSelectorPad
src
ANY
Presence â always
Direction â src
Object type â GstPad
Properties active-padâactive-padâ GstPad *
The currently active sink pad
Flags : Read / Write
cache-buffersâcache-buffersâ gboolean
If set to TRUE and GstInputSelector:sync-streams is also set to TRUE, the active pad will cache the buffers still considered valid (after current running time, see sync-mode) to avoid missing frames if/when the pad is reactivated.
The active pad may push more buffers than what is currently displayed/consumed and when changing pads those buffers will be discarded and the only way to reactivate that pad without losing the already consumed buffers is to enable cache.
Flags : Read / Write
Default value : false
drop-backwardsâdrop-backwardsâ gboolean
If set to TRUE and GstInputSelector:sync-streams is also set to TRUE, every time the input is switched, buffers that would go backwards related to the last output buffer pre-switch will be dropped.
Flags : Read / Write
Default value : false
Since : 1.22
n-padsân-padsâ guint
The number of sink pads
Flags : Read
Default value : 0
sync-modeâsync-modeâ Input-selector-sync-mode *
Select how input-selector will sync buffers when in sync-streams mode.
Note that when using the "active-segment" mode, the "active-segment" may be ahead of current clock time when switching the active pad, as the current active pad may have pushed more buffers than what was displayed/consumed, which may cause delays and some missing buffers.
Flags : Read / Write
Default value : active-segment (0)
sync-streamsâsync-streamsâ gboolean
If set to TRUE all inactive streams will be synced to the running time of the active stream or to the current clock.
To make sure no buffers are dropped by input-selector that might be needed when switching the active pad, sync-mode should be set to "clock" and cache-buffers to TRUE.
Flags : Read / Write
Default value : true
Named constants Input-selector-sync-modeThe different ways that input-selector can behave when in sync-streams mode.
Membersactive-segment
(0) â Sync using the current active segment
clock
(1) â Sync using the clock
The results of the search are
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4