Package org.freedesktop.gstreamer.gst
Enum Class PadFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<PadFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum PadFlags
extends Enum<PadFlags>
implements Enumeration
Pad state flags
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe default accept-caps handler will check it the caps intersect the query-caps result instead of checking for a subset.the default accept-caps handler will use the template pad caps instead of query caps to compare with the accept caps.is dataflow on a pad blockedis pad currently blocking on a buffer or eventis pad in EOS statethe pad is using fixed caps.is pad flushingoffset to define more flagsensure that there is a parent object before calling into the pad callbacks.the pad should be reconfigured/renegotiated.the pad has pending eventsthe default query handler will forward allocation queries to the internally linked pads instead of discarding them.the default event and query handler will forward all events and queries to the internally linked pads instead of discarding them.the default query handler will forward scheduling queries to the internally linked pads instead of discarding them. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the PadFlags classint
getValue()
Get the numeric value of this enumstatic PadFlags
of
(int value) Create a new PadFlags for the provided valuestatic PadFlags
Returns the enum constant of this class with the specified name.static PadFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLOCKED
is dataflow on a pad blocked -
FLUSHING
is pad flushing -
EOS
is pad in EOS state -
BLOCKING
is pad currently blocking on a buffer or event -
NEED_PARENT
ensure that there is a parent object before calling into the pad callbacks. -
NEED_RECONFIGURE
the pad should be reconfigured/renegotiated. The flag has to be unset manually after reconfiguration happened. -
PENDING_EVENTS
the pad has pending events -
FIXED_CAPS
the pad is using fixed caps. This means that once the caps are set on the pad, the default caps query function will only return those caps. -
PROXY_CAPS
the default event and query handler will forward all events and queries to the internally linked pads instead of discarding them. -
PROXY_ALLOCATION
the default query handler will forward allocation queries to the internally linked pads instead of discarding them. -
PROXY_SCHEDULING
the default query handler will forward scheduling queries to the internally linked pads instead of discarding them. -
ACCEPT_INTERSECT
the default accept-caps handler will check it the caps intersect the query-caps result instead of checking for a subset. This is interesting for parsers that can accept incompletely specified caps. -
ACCEPT_TEMPLATE
the default accept-caps handler will use the template pad caps instead of query caps to compare with the accept caps. Use this in combination withACCEPT_INTERSECT
. (Since: 1.6) -
LAST
offset to define more flags
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new PadFlags for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-