Element
Class
constructor
details
elementfactory
gst
Reserved
numpadtemplates
pad
Templ
Cookie
padtemplates
parent
Class
name
add
Pad
Template
change
State
get
Index
get
Pad
Template
get
Query
Types
get
State
no
More
Pads
pad
Added
pad
Removed
provide
Clock
query
release
Pad
request
New
Pad
send
Event
set
Bus
set
Clock
set
Details
set
Details
Simple
set
Index
set
State
NODE-GTK API Reference
Gst-0.10
Gst
ElementClass
Class ElementClass
GStreamer element class. Override the vmethods to implement the element functionality.
record
Hierarchy
ElementClass
Index
Constructors
constructor
Properties
details
elementfactory
gst
Reserved
numpadtemplates
pad
Templ
Cookie
padtemplates
parent
Class
name
Methods
add
Pad
Template
change
State
get
Index
get
Pad
Template
get
Query
Types
get
State
no
More
Pads
pad
Added
pad
Removed
provide
Clock
query
release
Pad
request
New
Pad
send
Event
set
Bus
set
Clock
set
Details
set
Details
Simple
set
Index
set
State
Constructors
constructor
new
Element
Class
(
)
:
Gst
.
ElementClass
Returns
Gst
.
ElementClass
Properties
details
details
:
ElementDetails
elementfactory
elementfactory
:
Gst
.
ElementFactory
gst
Reserved
gst
Reserved
:
any
[]
numpadtemplates
numpadtemplates
:
number
pad
Templ
Cookie
pad
Templ
Cookie
:
number
padtemplates
padtemplates
:
object
[]
parent
Class
parent
Class
:
Gst
.
ObjectClass
Static
name
name
:
string
Methods
add
Pad
Template
add
Pad
Template
(
templ
:
Gst
.
PadTemplate
)
:
void
Parameters
templ:
Gst
.
PadTemplate
Returns
void
change
State
change
State
(
element
:
Gst
.
Element
, transition
:
Gst
.
StateChange
)
:
Gst
.
StateChangeReturn
Parameters
element:
Gst
.
Element
transition:
Gst
.
StateChange
Returns
Gst
.
StateChangeReturn
get
Index
get
Index
(
element
:
Gst
.
Element
)
:
Gst
.
Index
Parameters
element:
Gst
.
Element
Returns
Gst
.
Index
get
Pad
Template
get
Pad
Template
(
name
:
string
)
:
Gst
.
PadTemplate
Parameters
name:
string
Returns
Gst
.
PadTemplate
get
Query
Types
get
Query
Types
(
element
:
Gst
.
Element
)
:
Gst
.
QueryType
Parameters
element:
Gst
.
Element
Returns
Gst
.
QueryType
get
State
get
State
(
element
:
Gst
.
Element
, timeout
:
any
)
:
[
Gst
.
StateChangeReturn
,
Gst
.
State
,
Gst
.
State
]
Parameters
element:
Gst
.
Element
timeout:
any
Returns
[
Gst
.
StateChangeReturn
,
Gst
.
State
,
Gst
.
State
]
no
More
Pads
no
More
Pads
(
element
:
Gst
.
Element
)
:
void
Parameters
element:
Gst
.
Element
Returns
void
pad
Added
pad
Added
(
element
:
Gst
.
Element
, pad
:
Gst
.
Pad
)
:
void
Parameters
element:
Gst
.
Element
pad:
Gst
.
Pad
Returns
void
pad
Removed
pad
Removed
(
element
:
Gst
.
Element
, pad
:
Gst
.
Pad
)
:
void
Parameters
element:
Gst
.
Element
pad:
Gst
.
Pad
Returns
void
provide
Clock
provide
Clock
(
element
:
Gst
.
Element
)
:
Gst
.
Clock
Parameters
element:
Gst
.
Element
Returns
Gst
.
Clock
query
query
(
element
:
Gst
.
Element
, query
:
Gst
.
Query
)
:
boolean
Parameters
element:
Gst
.
Element
query:
Gst
.
Query
Returns
boolean
release
Pad
release
Pad
(
element
:
Gst
.
Element
, pad
:
Gst
.
Pad
)
:
void
Parameters
element:
Gst
.
Element
pad:
Gst
.
Pad
Returns
void
request
New
Pad
request
New
Pad
(
element
:
Gst
.
Element
, templ
:
Gst
.
PadTemplate
, name
:
string
)
:
Gst
.
Pad
Parameters
element:
Gst
.
Element
templ:
Gst
.
PadTemplate
name:
string
Returns
Gst
.
Pad
send
Event
send
Event
(
element
:
Gst
.
Element
, event
:
Gst
.
Event
)
:
boolean
Parameters
element:
Gst
.
Element
event:
Gst
.
Event
Returns
boolean
set
Bus
set
Bus
(
element
:
Gst
.
Element
, bus
:
Gst
.
Bus
)
:
void
Parameters
element:
Gst
.
Element
bus:
Gst
.
Bus
Returns
void
set
Clock
set
Clock
(
element
:
Gst
.
Element
, clock
:
Gst
.
Clock
)
:
boolean
Parameters
element:
Gst
.
Element
clock:
Gst
.
Clock
Returns
boolean
set
Details
set
Details
(
details
:
ElementDetails
)
:
void
Parameters
details:
ElementDetails
Returns
void
set
Details
Simple
set
Details
Simple
(
longname
:
string
, classification
:
string
, description
:
string
, author
:
string
)
:
void
Parameters
longname:
string
classification:
string
description:
string
author:
string
Returns
void
set
Index
set
Index
(
element
:
Gst
.
Element
, index
:
Gst
.
Index
)
:
void
Parameters
element:
Gst
.
Element
index:
Gst
.
Index
Returns
void
set
State
set
State
(
element
:
Gst
.
Element
, state
:
Gst
.
State
)
:
Gst
.
StateChangeReturn
Parameters
element:
Gst
.
Element
state:
Gst
.
State
Returns
Gst
.
StateChangeReturn
Element
Class
constructor
details
elementfactory
gst
Reserved
numpadtemplates
pad
Templ
Cookie
padtemplates
parent
Class
name
add
Pad
Template
change
State
get
Index
get
Pad
Template
get
Query
Types
get
State
no
More
Pads
pad
Added
pad
Removed
provide
Clock
query
release
Pad
request
New
Pad
send
Event
set
Bus
set
Clock
set
Details
set
Details
Simple
set
Index
set
State
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RfMF8xMC5Hc3QuRWxlbWVudENsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RfMF8xMC5Hc3QuRWxlbWVudENsYXNzLmh0bWwjZGV0YWlscyIsIm5hbWUiOiJkZXRhaWxzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ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