public class ByteDataAppSink extends Bin
Modifier and Type | Class and Description |
---|---|
static interface |
ByteDataAppSink.Listener |
Bin.DO_LATENCY, Bin.ELEMENT_ADDED, Bin.ELEMENT_REMOVED
Element.NO_MORE_PADS, Element.PAD_ADDED, Element.PAD_REMOVED
GObject.GCallback
NativeObject.Initializer
DEBUG_GRAPH_SHOW_ALL, DEBUG_GRAPH_SHOW_CAPS_DETAILS, DEBUG_GRAPH_SHOW_MEDIA_TYPE, DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS, DEBUG_GRAPH_SHOW_STATES
defaultInit, ownsHandle
Constructor and Description |
---|
ByteDataAppSink(java.lang.String name,
ByteDataAppSink.Listener listener) |
ByteDataAppSink(java.lang.String name,
Pipeline pipeline,
ByteDataAppSink.Listener listener) |
Modifier and Type | Method and Description |
---|---|
Caps |
getCaps()
Gets the Caps configured on this data sink
|
BaseSink |
getSinkElement()
Gets the actual gstreamer sink element.
|
void |
removeListener()
Sets the listener to null.
|
void |
setPassDirectBuffer(boolean passThru)
Indicate whether the
RGBDataAppSink should pass the native IntBuffer
to the listener, or should copy it to a heap buffer. |
add, addMany, connect, connect, connect, debugToDotFile, debugToDotFile, disconnect, disconnect, disconnect, getElementByInterface, getElementByName, getElementByNameRecurseUp, getElements, getElementsRecursive, getElementsSorted, getSinks, getSources, launch, remove, removeMany
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, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, invalidate, objectForX, removeCallback, set
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor
public ByteDataAppSink(java.lang.String name, ByteDataAppSink.Listener listener)
public ByteDataAppSink(java.lang.String name, Pipeline pipeline, ByteDataAppSink.Listener listener)
public void removeListener()
public void setPassDirectBuffer(boolean passThru)
RGBDataAppSink
should pass the native IntBuffer
to the listener, or should copy it to a heap buffer. The default is to pass
a heap IntBuffer
copy of the datapassThru
- If true, pass through the native IntBuffer instead of
copying it to a heap IntBuffer.public BaseSink getSinkElement()
public Caps getCaps()