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 interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringcalled 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 Stringthe #GstElementFactory that creates these elementsstatic final Stringstatic final Stringmetadata for elements of this classstatic final Stringstatic final Stringthe number of padtemplatesstatic final Stringstatic final Stringstatic final Stringchanged whenever the padtemplates changestatic final Stringa #GList of #GstPadTemplatestatic final Stringthe parent class structure
Private field: direct-typestatic final Stringcalled when a message is posted on the element.static final Stringgets the #GstClock provided by the element
SeeElementClass.OnProvideClock.onProvideClock(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element)static final Stringperform 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 Stringcalled 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 Stringstatic final Stringsend 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 Stringset 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 Stringset 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 Stringset 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 Stringset a new state on the element
SeeElementClass.OnSetState.onSetState(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, int)static final Stringcalled immediately after a new state was set. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddMetadata(Str key, Str value) Set @key with @value as metadata in @klass.voidaddMetadata(String key, String value) Set @key with @value as metadata in @klass.voidaddPadTemplate(PadTemplate templ) Adds a padtemplate to an element class.voidaddStaticMetadata(Str key, Str value) Set @key with @value as metadata in @klass.voidaddStaticMetadata(String key, String value) Set @key with @value as metadata in @klass.voidaddStaticPadTemplate(StaticPadTemplate static_templ) Adds a pad template to an element class based on the static pad template
@templ.voidaddStaticPadTemplateWithGtype(StaticPadTemplate static_templ, long pad_type) Adds a pad template to an element class based on the static pad template
@templ.static ClassHandlerch.bailu.gtk.gst.JnaElementClass.OnChangeStatecalled 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.OnGetStatemetadata for elements of this classch.bailu.gtk.gst.JnaElementClass.OnNoMorePadsintthe number of padtemplatesch.bailu.gtk.gst.JnaElementClass.OnPadAddedch.bailu.gtk.gst.JnaElementClass.OnPadRemoveda #GList of #GstPadTemplateintchanged whenever the padtemplates changech.bailu.gtk.gst.JnaElementClass.OnPostMessagecalled when a message is posted on the element.ch.bailu.gtk.gst.JnaElementClass.OnProvideClockgets 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.OnQueryperform 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.OnReleasePadcalled 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.OnRequestNewPadch.bailu.gtk.gst.JnaElementClass.OnSendEventsend 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.OnSetBusset 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.OnSetClockset 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.OnSetContextset 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.OnSetStateset 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.OnStateChangedcalled immediately after a new state was set.static intgetMetadata(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.TypeSizestatic TypeSystem.TypeSizevoidsetFieldChangeState(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)voidsetFieldGetState(ElementClass.OnGetState get_state) voidsetFieldNoMorePads(ElementClass.OnNoMorePads no_more_pads) voidsetFieldPadAdded(ElementClass.OnPadAdded pad_added) voidsetFieldPadRemoved(ElementClass.OnPadRemoved pad_removed) voidsetFieldPostMessage(ElementClass.OnPostMessage post_message) called when a message is posted on the element.voidsetFieldProvideClock(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)voidperform a #GstQuery on the element
SeeElementClass.OnQuery.onQuery(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Element, ch.bailu.gtk.gst.Query)voidsetFieldReleasePad(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)voidsetFieldRequestNewPad(ElementClass.OnRequestNewPad request_new_pad) voidsetFieldSendEvent(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)voidsetFieldSetBus(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)voidsetFieldSetClock(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)voidsetFieldSetContext(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)voidsetFieldSetState(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)voidsetFieldStateChanged(ElementClass.OnStateChanged state_changed) called immediately after a new state was set.voidsetMetadata(Str longname, Str classification, Str description, Str author) Sets the detailed information for a #GstElementClass.voidsetMetadata(String longname, String classification, String description, String author) Sets the detailed information for a #GstElementClass.voidsetStaticMetadata(Str longname, Str classification, Str description, Str author) Sets the detailed information for a #GstElementClass.voidsetStaticMetadata(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, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon 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()
-