Package org.freedesktop.gstreamer.video
Class VideoAggregator.Builder<B extends VideoAggregator.Builder<B>>
java.lang.Object
io.github.jwharm.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gobject.InitiallyUnowned.Builder<B>
org.freedesktop.gstreamer.gst.GstObject.Builder<B>
org.freedesktop.gstreamer.gst.Element.Builder<B>
org.freedesktop.gstreamer.base.Aggregator.Builder<B>
org.freedesktop.gstreamer.video.VideoAggregator.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
VideoAggregator
public static class VideoAggregator.Builder<B extends VideoAggregator.Builder<B>>
extends Aggregator.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theVideoAggregator
object.setForceLive
(boolean forceLive) Causes the element to aggregate on a timeout even when no live source is connected to its sinks.Methods inherited from class org.freedesktop.gstreamer.base.Aggregator.Builder
onSamplesSelected, setEmitSignals, setLatency, setMinUpstreamLatency, setStartTime, setStartTimeSelection
Methods inherited from class org.freedesktop.gstreamer.gst.Element.Builder
onNoMorePads, onPadAdded, onPadRemoved
Methods inherited from class org.freedesktop.gstreamer.gst.GstObject.Builder
onDeepNotify, setName, setParent
Methods inherited from class org.gnome.gobject.GObject.Builder
onNotify
Methods inherited from class io.github.jwharm.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilder
object.
-
-
Method Details
-
build
Finish building theVideoAggregator
object. This will callGObject.withProperties(org.gnome.glib.Type, java.lang.String[], org.gnome.gobject.Value[])
to create a new GObject instance, which is then cast toVideoAggregator
.- Overrides:
build
in classAggregator.Builder<B extends VideoAggregator.Builder<B>>
- Returns:
- a new instance of
VideoAggregator
with the properties that were set in the Builder object.
-
setForceLive
Causes the element to aggregate on a timeout even when no live source is connected to its sinks. SeeGstAggregator
:min-upstream-latency for a companion property: in the vast majority of cases where you plan to plug in live sources with a non-zero latency, you should set it to a non-zero value.- Parameters:
forceLive
- the value for theforce-live
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-