org.gstreamer.elements
public abstract class CustomSrc extends BaseSrc
Modifier and Type | Class and Description |
---|---|
protected static interface |
CustomSrc.SrcCallback |
BaseSrc.HANDOFF
Element.NO_MORE_PADS, Element.PAD_ADDED, Element.PAD_REMOVED
GObject.GCallback, GObject.NOTIFY
NativeObject.Initializer
GTYPE_NAME
defaultInit, ownsHandle
Modifier | Constructor and Description |
---|---|
protected |
CustomSrc(Class<? extends CustomSrc> subClass,
String name) |
Modifier and Type | Method and Description |
---|---|
protected FlowReturn |
srcCreateBuffer(long offset,
int size,
Buffer[] bufRef)
Used when more control of Buffer creation is desired than fillBuffer() affords.
|
protected boolean |
srcEvent(Event ev) |
protected FlowReturn |
srcFillBuffer(long offset,
int size,
Buffer buffer)
Used when you just want to fill a Buffer with data.
|
protected void |
srcFixate(Caps caps) |
protected Caps |
srcGetCaps() |
protected long |
srcGetSize() |
protected void |
srcGetTimes(Buffer buffer,
long[] start,
long[] end) |
protected boolean |
srcIsSeekable() |
protected boolean |
srcNegotiate() |
protected boolean |
srcSeek(GstAPI.GstSegmentStruct segment) |
protected boolean |
srcSetCaps(Caps caps) |
protected boolean |
srcStart() |
protected boolean |
srcStop() |
connect, disconnect, getBlocksize, getTimestamp, isLive, newSeamlessSegment, queryLatency, setBlocksize, setFormat, setLive, setTimestamp, waitPlaying
addPad, connect, connect, connect, disconnect, disconnect, disconnect, getBaseTime, getBus, getClock, getFactory, getPad, getPads, getRequestPad, getSinkPads, getSrcPads, getStartTime, getState, getState, getState, getState, getStaticPad, isPlaying, link, link, linkMany, linkPads, linkPadsFiltered, makeRawElement, pause, play, postMessage, ready, releaseRequestPad, removePad, sendEvent, setBaseTime, setCaps, setLockedState, setStartTime, setState, stop, syncStateWithParent, unlink, unlinkMany, unlinkPads
addListenerProxy, getName, getParent, initializer, initializer, ref, removeListenerProxy, setName, steal, toString, unref
addCallback, connect, connect, connect, connect, disconnect, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, getType, getTypeName, invalidate, listPropertyNames, removeCallback, set
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor
protected FlowReturn srcCreateBuffer(long offset, int size, Buffer[] bufRef) throws IOException
offset
- size
- bufRef
- IOException
protected FlowReturn srcFillBuffer(long offset, int size, Buffer buffer) throws IOException
offset
- size
- buffer
- IOException
protected boolean srcIsSeekable()
protected boolean srcSeek(GstAPI.GstSegmentStruct segment) throws IOException
IOException
protected boolean srcStart()
protected boolean srcStop()
protected boolean srcNegotiate()
protected Caps srcGetCaps()
protected boolean srcSetCaps(Caps caps)
protected long srcGetSize()
protected boolean srcEvent(Event ev)
protected void srcGetTimes(Buffer buffer, long[] start, long[] end)
protected void srcFixate(Caps caps)
Copyright © 2014. All rights reserved.