Package ch.bailu.gtk.gst
Klasse ElementClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gst.ElementClass
- Alle implementierten Schnittstellen:
PointerInterface
GStreamer element class. Override the vmethods to implement the element
functionality.
functionality.
https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
called by @set_state to perform an incremental state change
SeeElementClass.OnChangeState.onChangeState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
static final String
the #GstElementFactory that creates these elementsstatic final String
static final String
metadata for elements of this classstatic final String
static final String
the number of padtemplatesstatic final String
static final String
static final String
changed whenever the padtemplates changestatic final String
a #GList of #GstPadTemplatestatic final String
the parent class structure
Private field: direct-typestatic final String
called when a message is posted on the element.static final String
gets the #GstClock provided by the element
SeeElementClass.OnProvideClock.onProvideClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element)
static final String
perform a #GstQuery on the element
SeeElementClass.OnQuery.onQuery(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Query)
static final String
called when a request pad is to be released
SeeElementClass.OnReleasePad.onReleasePad(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Pad)
static final String
static final String
send a #GstEvent to the element
SeeElementClass.OnSendEvent.onSendEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Event)
static final String
set a #GstBus on the element
SeeElementClass.OnSetBus.onSetBus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Bus)
static final String
set the #GstClock on the element
SeeElementClass.OnSetClock.onSetClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Clock)
static final String
set a #GstContext on the element
SeeElementClass.OnSetContext.onSetContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Context)
static final String
set a new state on the element
SeeElementClass.OnSetState.onSetState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
static final String
called immediately after a new state was set. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addMetadata
(Str key, Str value) Set @key with @value as metadata in @klass.void
addMetadata
(String key, String value) Set @key with @value as metadata in @klass.void
addPadTemplate
(PadTemplate templ) Adds a padtemplate to an element class.void
addStaticMetadata
(Str key, Str value) Set @key with @value as metadata in @klass.void
addStaticMetadata
(String key, String value) Set @key with @value as metadata in @klass.void
addStaticPadTemplate
(StaticPadTemplate static_templ) Adds a pad template to an element class based on the static pad template
@templ.void
addStaticPadTemplateWithGtype
(StaticPadTemplate static_templ, long pad_type) Adds a pad template to an element class based on the static pad template
@templ.static ClassHandler
ch.bailu.gtk.gst.JnaElementClass.OnChangeState
called by @set_state to perform an incremental state change
SeeElementClass.OnChangeState.onChangeState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
the #GstElementFactory that creates these elementsch.bailu.gtk.gst.JnaElementClass.OnGetState
metadata for elements of this classch.bailu.gtk.gst.JnaElementClass.OnNoMorePads
int
the number of padtemplatesch.bailu.gtk.gst.JnaElementClass.OnPadAdded
ch.bailu.gtk.gst.JnaElementClass.OnPadRemoved
a #GList of #GstPadTemplateint
changed whenever the padtemplates changech.bailu.gtk.gst.JnaElementClass.OnPostMessage
called when a message is posted on the element.ch.bailu.gtk.gst.JnaElementClass.OnProvideClock
gets the #GstClock provided by the element
SeeElementClass.OnProvideClock.onProvideClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element)
ch.bailu.gtk.gst.JnaElementClass.OnQuery
perform a #GstQuery on the element
SeeElementClass.OnQuery.onQuery(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Query)
ch.bailu.gtk.gst.JnaElementClass.OnReleasePad
called when a request pad is to be released
SeeElementClass.OnReleasePad.onReleasePad(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Pad)
ch.bailu.gtk.gst.JnaElementClass.OnRequestNewPad
ch.bailu.gtk.gst.JnaElementClass.OnSendEvent
send a #GstEvent to the element
SeeElementClass.OnSendEvent.onSendEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Event)
ch.bailu.gtk.gst.JnaElementClass.OnSetBus
set a #GstBus on the element
SeeElementClass.OnSetBus.onSetBus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Bus)
ch.bailu.gtk.gst.JnaElementClass.OnSetClock
set the #GstClock on the element
SeeElementClass.OnSetClock.onSetClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Clock)
ch.bailu.gtk.gst.JnaElementClass.OnSetContext
set a #GstContext on the element
SeeElementClass.OnSetContext.onSetContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Context)
ch.bailu.gtk.gst.JnaElementClass.OnSetState
set a new state on the element
SeeElementClass.OnSetState.onSetState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
ch.bailu.gtk.gst.JnaElementClass.OnStateChanged
called immediately after a new state was set.static int
getMetadata
(Str key) Get metadata with @key in @klass.getMetadata
(String key) Get metadata with @key in @klass.getPadTemplate
(Str name) Retrieves a padtemplate from @element_class with the given name.getPadTemplate
(String name) Retrieves a padtemplate from @element_class with the given name.Retrieves a list of the pad templates associated with @element_class.static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
setFieldChangeState
(ElementClass.OnChangeState change_state) called by @set_state to perform an incremental state change
SeeElementClass.OnChangeState.onChangeState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
void
setFieldGetState
(ElementClass.OnGetState get_state) void
setFieldNoMorePads
(ElementClass.OnNoMorePads no_more_pads) void
setFieldPadAdded
(ElementClass.OnPadAdded pad_added) void
setFieldPadRemoved
(ElementClass.OnPadRemoved pad_removed) void
setFieldPostMessage
(ElementClass.OnPostMessage post_message) called when a message is posted on the element.void
setFieldProvideClock
(ElementClass.OnProvideClock provide_clock) gets the #GstClock provided by the element
SeeElementClass.OnProvideClock.onProvideClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element)
void
perform a #GstQuery on the element
SeeElementClass.OnQuery.onQuery(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Query)
void
setFieldReleasePad
(ElementClass.OnReleasePad release_pad) called when a request pad is to be released
SeeElementClass.OnReleasePad.onReleasePad(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Pad)
void
setFieldRequestNewPad
(ElementClass.OnRequestNewPad request_new_pad) void
setFieldSendEvent
(ElementClass.OnSendEvent send_event) send a #GstEvent to the element
SeeElementClass.OnSendEvent.onSendEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Event)
void
setFieldSetBus
(ElementClass.OnSetBus set_bus) set a #GstBus on the element
SeeElementClass.OnSetBus.onSetBus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Bus)
void
setFieldSetClock
(ElementClass.OnSetClock set_clock) set the #GstClock on the element
SeeElementClass.OnSetClock.onSetClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Clock)
void
setFieldSetContext
(ElementClass.OnSetContext set_context) set a #GstContext on the element
SeeElementClass.OnSetContext.onSetContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Context)
void
setFieldSetState
(ElementClass.OnSetState set_state) set a new state on the element
SeeElementClass.OnSetState.onSetState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
void
setFieldStateChanged
(ElementClass.OnStateChanged state_changed) called immediately after a new state was set.void
setMetadata
(Str longname, Str classification, Str description, Str author) Sets the detailed information for a #GstElementClass.void
setMetadata
(String longname, String classification, String description, String author) Sets the detailed information for a #GstElementClass.void
setStaticMetadata
(Str longname, Str classification, Str description, Str author) Sets the detailed information for a #GstElementClass.void
setStaticMetadata
(String longname, String classification, String description, String author) Sets the detailed information for a #GstElementClass.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
PARENT_CLASS
the parent class structure
Private field: direct-type- Siehe auch:
-
METADATA
metadata for elements of this class- Siehe auch:
-
ELEMENTFACTORY
the #GstElementFactory that creates these elements- Siehe auch:
-
PADTEMPLATES
a #GList of #GstPadTemplate- Siehe auch:
-
NUMPADTEMPLATES
the number of padtemplates- Siehe auch:
-
PAD_TEMPL_COOKIE
changed whenever the padtemplates change- Siehe auch:
-
PAD_ADDED
- Siehe auch:
-
PAD_REMOVED
- Siehe auch:
-
NO_MORE_PADS
- Siehe auch:
-
REQUEST_NEW_PAD
called when a new pad is requested
SeeElementClass.OnRequestNewPad.onRequestNewPad(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.PadTemplate, ch.bailu.gtk.type.Str, ch.bailu.gtk.gst.Caps)
- Siehe auch:
-
RELEASE_PAD
called when a request pad is to be released
SeeElementClass.OnReleasePad.onReleasePad(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Pad)
- Siehe auch:
-
GET_STATE
get the state of the element
SeeElementClass.OnGetState.onGetState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int, long)
- Siehe auch:
-
SET_STATE
set a new state on the element
SeeElementClass.OnSetState.onSetState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
- Siehe auch:
-
CHANGE_STATE
called by @set_state to perform an incremental state change
SeeElementClass.OnChangeState.onChangeState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
- Siehe auch:
-
STATE_CHANGED
called immediately after a new state was set.
SeeElementClass.OnStateChanged.onStateChanged(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int, int, int)
- Siehe auch:
-
SET_BUS
set a #GstBus on the element
SeeElementClass.OnSetBus.onSetBus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Bus)
- Siehe auch:
-
PROVIDE_CLOCK
gets the #GstClock provided by the element
SeeElementClass.OnProvideClock.onProvideClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element)
- Siehe auch:
-
SET_CLOCK
set the #GstClock on the element
SeeElementClass.OnSetClock.onSetClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Clock)
- Siehe auch:
-
SEND_EVENT
send a #GstEvent to the element
SeeElementClass.OnSendEvent.onSendEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Event)
- Siehe auch:
-
QUERY
perform a #GstQuery on the element
SeeElementClass.OnQuery.onQuery(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Query)
- Siehe auch:
-
POST_MESSAGE
called when a message is posted on the element. Chain up to
the parent class' handler to have it posted on the bus.
SeeElementClass.OnPostMessage.onPostMessage(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Message)
- Siehe auch:
-
SET_CONTEXT
set a #GstContext on the element
SeeElementClass.OnSetContext.onSetContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Context)
- Siehe auch:
-
-
Konstruktordetails
-
ElementClass
-
-
Methodendetails
-
getClassHandler
-
getFieldMetadata
metadata for elements of this class -
getFieldElementfactory
the #GstElementFactory that creates these elements -
getFieldPadtemplates
a #GList of #GstPadTemplate -
getFieldNumpadtemplates
public int getFieldNumpadtemplates()the number of padtemplates -
getFieldPadTemplCookie
public int getFieldPadTemplCookie()changed whenever the padtemplates change -
setFieldPadAdded
-
getFieldPadAdded
public ch.bailu.gtk.gst.JnaElementClass.OnPadAdded getFieldPadAdded() -
setFieldPadRemoved
-
getFieldPadRemoved
public ch.bailu.gtk.gst.JnaElementClass.OnPadRemoved getFieldPadRemoved() -
setFieldNoMorePads
-
getFieldNoMorePads
public ch.bailu.gtk.gst.JnaElementClass.OnNoMorePads getFieldNoMorePads() -
setFieldRequestNewPad
-
getFieldRequestNewPad
public ch.bailu.gtk.gst.JnaElementClass.OnRequestNewPad getFieldRequestNewPad() -
setFieldReleasePad
called when a request pad is to be released
SeeElementClass.OnReleasePad.onReleasePad(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Pad)
-
getFieldReleasePad
public ch.bailu.gtk.gst.JnaElementClass.OnReleasePad getFieldReleasePad()called when a request pad is to be released
SeeElementClass.OnReleasePad.onReleasePad(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Pad)
-
setFieldGetState
-
getFieldGetState
public ch.bailu.gtk.gst.JnaElementClass.OnGetState getFieldGetState() -
setFieldSetState
set a new state on the element
SeeElementClass.OnSetState.onSetState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
-
getFieldSetState
public ch.bailu.gtk.gst.JnaElementClass.OnSetState getFieldSetState()set a new state on the element
SeeElementClass.OnSetState.onSetState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
-
setFieldChangeState
called by @set_state to perform an incremental state change
SeeElementClass.OnChangeState.onChangeState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
-
getFieldChangeState
public ch.bailu.gtk.gst.JnaElementClass.OnChangeState getFieldChangeState()called by @set_state to perform an incremental state change
SeeElementClass.OnChangeState.onChangeState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)
-
setFieldStateChanged
called immediately after a new state was set.
SeeElementClass.OnStateChanged.onStateChanged(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int, int, int)
-
getFieldStateChanged
public ch.bailu.gtk.gst.JnaElementClass.OnStateChanged getFieldStateChanged()called immediately after a new state was set.
SeeElementClass.OnStateChanged.onStateChanged(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int, int, int)
-
setFieldSetBus
set a #GstBus on the element
SeeElementClass.OnSetBus.onSetBus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Bus)
-
getFieldSetBus
public ch.bailu.gtk.gst.JnaElementClass.OnSetBus getFieldSetBus()set a #GstBus on the element
SeeElementClass.OnSetBus.onSetBus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Bus)
-
setFieldProvideClock
gets the #GstClock provided by the element
SeeElementClass.OnProvideClock.onProvideClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element)
-
getFieldProvideClock
public ch.bailu.gtk.gst.JnaElementClass.OnProvideClock getFieldProvideClock()gets the #GstClock provided by the element
SeeElementClass.OnProvideClock.onProvideClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element)
-
setFieldSetClock
set the #GstClock on the element
SeeElementClass.OnSetClock.onSetClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Clock)
-
getFieldSetClock
public ch.bailu.gtk.gst.JnaElementClass.OnSetClock getFieldSetClock()set the #GstClock on the element
SeeElementClass.OnSetClock.onSetClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Clock)
-
setFieldSendEvent
send a #GstEvent to the element
SeeElementClass.OnSendEvent.onSendEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Event)
-
getFieldSendEvent
public ch.bailu.gtk.gst.JnaElementClass.OnSendEvent getFieldSendEvent()send a #GstEvent to the element
SeeElementClass.OnSendEvent.onSendEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Event)
-
setFieldQuery
perform a #GstQuery on the element
SeeElementClass.OnQuery.onQuery(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Query)
-
getFieldQuery
public ch.bailu.gtk.gst.JnaElementClass.OnQuery getFieldQuery()perform a #GstQuery on the element
SeeElementClass.OnQuery.onQuery(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Query)
-
setFieldPostMessage
called when a message is posted on the element. Chain up to
the parent class' handler to have it posted on the bus.
SeeElementClass.OnPostMessage.onPostMessage(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Message)
-
getFieldPostMessage
public ch.bailu.gtk.gst.JnaElementClass.OnPostMessage getFieldPostMessage()called when a message is posted on the element. Chain up to
the parent class' handler to have it posted on the bus.
SeeElementClass.OnPostMessage.onPostMessage(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Message)
-
setFieldSetContext
set a #GstContext on the element
SeeElementClass.OnSetContext.onSetContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Context)
-
getFieldSetContext
public ch.bailu.gtk.gst.JnaElementClass.OnSetContext getFieldSetContext()set a #GstContext on the element
SeeElementClass.OnSetContext.onSetContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Context)
-
addMetadata
Set @key with @value as metadata in @klass.- Parameter:
key
- the key to setvalue
- the value to set
-
addMetadata
Set @key with @value as metadata in @klass.- Parameter:
key
- the key to setvalue
- the value to set
-
addPadTemplate
Adds a padtemplate to an element class. This is mainly used in the _class_init
functions of classes. If a pad template with the same name as an already
existing one is added the old one is replaced by the new one.
@templ's reference count will be incremented, and any floating
reference will be removed (see gst_object_ref_sink())- Parameter:
templ
- a #GstPadTemplate to add to the element class.
-
addStaticMetadata
Set @key with @value as metadata in @klass.
Same as gst_element_class_add_metadata(), but @value must be a static string
or an inlined string, as it will not be copied. (GStreamer plugins will
be made resident once loaded, so this function can be used even from
dynamically loaded plugins.)- Parameter:
key
- the key to setvalue
- the value to set
-
addStaticMetadata
Set @key with @value as metadata in @klass.
Same as gst_element_class_add_metadata(), but @value must be a static string
or an inlined string, as it will not be copied. (GStreamer plugins will
be made resident once loaded, so this function can be used even from
dynamically loaded plugins.)- Parameter:
key
- the key to setvalue
- the value to set
-
addStaticPadTemplate
Adds a pad template to an element class based on the static pad template
@templ. This is mainly used in the _class_init functions of element
implementations. If a pad template with the same name already exists,
the old one is replaced by the new one.- Parameter:
static_templ
- #GstStaticPadTemplate to add as pad template to the element class.
-
addStaticPadTemplateWithGtype
Adds a pad template to an element class based on the static pad template
@templ. This is mainly used in the _class_init functions of element
implementations. If a pad template with the same name already exists,
the old one is replaced by the new one.- Parameter:
static_templ
- #GstStaticPadTemplate to add as pad template to the element class.pad_type
- The #GType of the pad to create
-
getMetadata
Get metadata with @key in @klass.- Parameter:
key
- the key to get- Gibt zurück:
- the metadata for @key.
-
getMetadata
Get metadata with @key in @klass.- Parameter:
key
- the key to get- Gibt zurück:
- the metadata for @key.
-
getPadTemplate
Retrieves a padtemplate from @element_class with the given name.
> If you use this function in the GInstanceInitFunc of an object class
> that has subclasses, make sure to pass the g_class parameter of the
> GInstanceInitFunc here.- Parameter:
name
- the name of the #GstPadTemplate to get.- Gibt zurück:
- the #GstPadTemplate with the given name, or %NULL if none was found. No unreferencing is necessary.
-
getPadTemplate
Retrieves a padtemplate from @element_class with the given name.
> If you use this function in the GInstanceInitFunc of an object class
> that has subclasses, make sure to pass the g_class parameter of the
> GInstanceInitFunc here.- Parameter:
name
- the name of the #GstPadTemplate to get.- Gibt zurück:
- the #GstPadTemplate with the given name, or %NULL if none was found. No unreferencing is necessary.
-
getPadTemplateList
Retrieves a list of the pad templates associated with @element_class. The
list must not be modified by the calling code.
> If you use this function in the GInstanceInitFunc of an object class
> that has subclasses, make sure to pass the g_class parameter of the
> GInstanceInitFunc here.- Gibt zurück:
- the #GList of pad templates.
-
setMetadata
public void setMetadata(@Nonnull Str longname, @Nonnull Str classification, @Nonnull Str description, @Nonnull Str author) Sets the detailed information for a #GstElementClass.
> This function is for use in _class_init functions only.- Parameter:
longname
- The long English name of the element. E.g. "File Sink"classification
- String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"description
- Sentence describing the purpose of the element. E.g: "Write stream to a file"author
- Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
-
setMetadata
Sets the detailed information for a #GstElementClass.
> This function is for use in _class_init functions only.- Parameter:
longname
- The long English name of the element. E.g. "File Sink"classification
- String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"description
- Sentence describing the purpose of the element. E.g: "Write stream to a file"author
- Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
-
setStaticMetadata
public void setStaticMetadata(@Nonnull Str longname, @Nonnull Str classification, @Nonnull Str description, @Nonnull Str author) Sets the detailed information for a #GstElementClass.
> This function is for use in _class_init functions only.
Same as gst_element_class_set_metadata(), but @longname, @classification,
@description, and @author must be static strings or inlined strings, as
they will not be copied. (GStreamer plugins will be made resident once
loaded, so this function can be used even from dynamically loaded plugins.)- Parameter:
longname
- The long English name of the element. E.g. "File Sink"classification
- String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"description
- Sentence describing the purpose of the element. E.g: "Write stream to a file"author
- Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
-
setStaticMetadata
public void setStaticMetadata(String longname, String classification, String description, String author) Sets the detailed information for a #GstElementClass.
> This function is for use in _class_init functions only.
Same as gst_element_class_set_metadata(), but @longname, @classification,
@description, and @author must be static strings or inlined strings, as
they will not be copied. (GStreamer plugins will be made resident once
loaded, so this function can be used even from dynamically loaded plugins.)- Parameter:
longname
- The long English name of the element. E.g. "File Sink"classification
- String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"description
- Sentence describing the purpose of the element. E.g: "Write stream to a file"author
- Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
-
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-