org.gstreamer.elements
Class BufferDataAppSink
java.lang.Object
org.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.lowlevel.RefCountedObject
org.gstreamer.GObject
org.gstreamer.GstObject
org.gstreamer.Element
org.gstreamer.Bin
org.gstreamer.elements.BufferDataAppSink
public class BufferDataAppSink
- extends Bin
Class that allows to pull out native buffers from the GStreamer pipeline into
the application. It is almost identical to BufferDataSink, the only
difference is that BufferDataSink uses a fakesink as the sink element,
while BufferDataAppSink uses an appsink.
Methods inherited from class org.gstreamer.Bin |
add, addMany, connect, connect, connect, debugToDotFile, debugToDotFile, disconnect, disconnect, disconnect, getElementByInterface, getElementByName, getElementByNameRecurseUp, getElements, getElementsRecursive, getElementsSorted, getSinks, getSources, launch, remove, removeMany |
Methods inherited from class org.gstreamer.Element |
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 |
Methods inherited from class org.gstreamer.GstObject |
addListenerProxy, getName, getParent, initializer, initializer, ref, removeListenerProxy, setName, steal, toString, unref |
Methods inherited from class org.gstreamer.GObject |
addCallback, connect, connect, connect, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, invalidate, objectFor, removeCallback, set |
Methods inherited from class org.gstreamer.lowlevel.NativeObject |
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
BufferDataAppSink
public BufferDataAppSink(java.lang.String name,
BufferDataAppSink.Listener listener)
BufferDataAppSink
public BufferDataAppSink(java.lang.String name,
java.lang.String mask,
BufferDataAppSink.Listener listener)
BufferDataAppSink
public BufferDataAppSink(java.lang.String name,
Pipeline pipeline,
BufferDataAppSink.Listener listener)
removeListener
public void removeListener()
- Sets the listener to null. This should be used when disposing
the parent object that contains the listener method, to make sure
that no dangling references remain to the parent.
setAutoDisposeBuffer
public void setAutoDisposeBuffer(boolean autoDispose)
- Indicate whether the the native buffer is disposed automatically by the sink object
or not. The later is useful if the application needs to store the buffers.
getSinkElement
public BaseSink getSinkElement()
- Gets the actual gstreamer sink element.
- Returns:
- a AppSink
getCaps
public Caps getCaps()
- Gets the Caps configured on this data sink
- Returns:
- The caps configured on this sink