Package org.freedesktop.gstreamer.base
Class BaseParse.Builder<B extends BaseParse.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.BaseParse.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
BaseParse
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theBaseParse
object.setDisablePassthrough
(boolean disablePassthrough) If set totrue
, baseparse will unconditionally force parsing of the incoming data.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 theBaseParse
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 toBaseParse
.- Overrides:
build
in classElement.Builder<B extends BaseParse.Builder<B>>
- Returns:
- a new instance of
BaseParse
with the properties that were set in the Builder object.
-
setDisablePassthrough
If set totrue
, baseparse will unconditionally force parsing of the incoming data. This can be required in the rare cases where the incoming side-data (caps, pts, dts, ...) is not trusted by the user and wants to force validation and parsing of the incoming data. If set tofalse
, decision of whether to parse the data or not is up to the implementation (standard behaviour).- Parameters:
disablePassthrough
- the value for thedisable-passthrough
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-