GstElement

Undocumented in source.

Members

Variables

baseTime
GstClockTimeDiff baseTime;

the time of the clock right before the element is set to PLAYING. Subtracting base_time from the current clock time in the PLAYING state will yield the running_time against the clock.

bus
GstBus* bus;

the bus of the element. This bus is provided to the element by the parent element or the application. A gstreamer.Pipeline has a bus of its own.

clock
GstClock* clock;

the clock of the element. This clock is usually provided to the element by the toplevel gstreamer.Pipeline

contexts
GList* contexts;

list of contexts

currentState
GstState currentState;

the current state of an element

lastReturn
GstStateChangeReturn lastReturn;

the last return value of an element state change

nextState
GstState nextState;

the next state of an element, can be GST_STATE_VOID_PENDING if the element is in the correct state.

numpads
ushort numpads;

number of pads of the element, includes both source and sink pads.

numsinkpads
ushort numsinkpads;

number of sink pads of the element.

numsrcpads
ushort numsrcpads;

number of source pads of the element.

pads
GList* pads;

list of pads

padsCookie
uint padsCookie;

updated whenever the a pad is added or removed

pendingState
GstState pendingState;

the final state the element should go to, can be GST_STATE_VOID_PENDING if the element is in the correct state

sinkpads
GList* sinkpads;

list of sink pads

srcpads
GList* srcpads;

list of source pads

startTime
GstClockTime startTime;

the running_time of the last PAUSED state

stateCond
GCond stateCond;

Used to signal completion of a state change

stateCookie
uint stateCookie;

Used to detect concurrent execution of Element.setState and Element.getState

stateLock
GRecMutex stateLock;

Used to serialize execution of Element.setState

targetState
GstState targetState;

the target state of an element as set by the application