|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.DecodeBin2
public class DecodeBin2
Utility Element to automatically identify media stream types and hook
up elements.
| Nested Class Summary | |
|---|---|
static interface |
DecodeBin2.AUTOPLUG_CONTINUE
Signal is emitted when a pad for which there is no further possible decoding is added to the DecodeBin2. |
static interface |
DecodeBin2.AUTOPLUG_FACTORIES
This function is emitted when an array of possible factories for caps on pad is needed. |
static interface |
DecodeBin2.AUTOPLUG_SORT
Once DecodeBin2 has found the possible ElementFactory objects to
try for caps on pad, this signal is emitted. |
static interface |
DecodeBin2.DRAINED
This signal is emitted once DecodeBin2 has finished decoding all the data. |
static interface |
DecodeBin2.NEW_DECODED_PAD
Signal emitted when this DecodeBin2 decodes a new pad. |
static interface |
DecodeBin2.REMOVED_DECODED_PAD
Signal emitted when this DecodeBin2 decodes a removed pad. |
static interface |
DecodeBin2.UNKNOWN_TYPE
Signal is emitted when a pad for which there is no further possible decoding is added to the DecodeBin2. |
| Nested classes/interfaces inherited from class org.gstreamer.Bin |
|---|
Bin.DO_LATENCY, Bin.ELEMENT_ADDED, Bin.ELEMENT_REMOVED |
| Nested classes/interfaces inherited from class org.gstreamer.Element |
|---|
Element.NO_MORE_PADS, Element.PAD_ADDED, Element.PAD_REMOVED |
| Nested classes/interfaces inherited from class org.gstreamer.GObject |
|---|
GObject.GCallback |
| Nested classes/interfaces inherited from class org.gstreamer.lowlevel.NativeObject |
|---|
NativeObject.Initializer |
| Field Summary | |
|---|---|
static java.lang.String |
GST_NAME
|
| Fields inherited from class org.gstreamer.Bin |
|---|
DEBUG_GRAPH_SHOW_ALL, DEBUG_GRAPH_SHOW_CAPS_DETAILS, DEBUG_GRAPH_SHOW_MEDIA_TYPE, DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS, DEBUG_GRAPH_SHOW_STATES |
| Fields inherited from class org.gstreamer.lowlevel.NativeObject |
|---|
defaultInit, ownsHandle |
| Constructor Summary | |
|---|---|
DecodeBin2(NativeObject.Initializer init)
|
|
DecodeBin2(java.lang.String name)
Creates a new DecodeBin2. |
|
| Method Summary | |
|---|---|
void |
connect(DecodeBin2.AUTOPLUG_CONTINUE listener)
Adds a listener for the autoplug-continue signal |
void |
connect(DecodeBin2.AUTOPLUG_FACTORIES listener)
Adds a listener for the autoplug-factories signal |
void |
connect(DecodeBin2.AUTOPLUG_SORT listener)
Adds a listener for the autoplug-sort signal |
void |
connect(DecodeBin2.DRAINED listener)
Adds a listener for the drained signal |
void |
connect(DecodeBin2.NEW_DECODED_PAD listener)
Adds a listener for the new-decoded-pad signal |
void |
connect(DecodeBin2.REMOVED_DECODED_PAD listener)
Adds a listener for the removed-decoded-pad signal |
void |
connect(DecodeBin2.UNKNOWN_TYPE listener)
Adds a listener for the unknown-type signal |
void |
disconnect(DecodeBin2.AUTOPLUG_CONTINUE listener)
Removes a listener for the autoplug-continue signal |
void |
disconnect(DecodeBin2.AUTOPLUG_FACTORIES listener)
Removes a listener for the autoplug-factories signal |
void |
disconnect(DecodeBin2.AUTOPLUG_SORT listener)
Removes a listener for the autoplug-sort signal |
void |
disconnect(DecodeBin2.DRAINED listener)
Removes a listener for the drained signal |
void |
disconnect(DecodeBin2.NEW_DECODED_PAD listener)
Removes a listener for the new-decoded-pad signal |
void |
disconnect(DecodeBin2.REMOVED_DECODED_PAD listener)
Removes a listener for the removed-decoded-pad signal |
void |
disconnect(DecodeBin2.UNKNOWN_TYPE listener)
Removes a listener for the unknown-type signal |
| 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 |
| Field Detail |
|---|
public static final java.lang.String GST_NAME
| Constructor Detail |
|---|
public DecodeBin2(java.lang.String name)
name - The name used to identify this DecodeBin.public DecodeBin2(NativeObject.Initializer init)
| Method Detail |
|---|
public void connect(DecodeBin2.NEW_DECODED_PAD listener)
new-decoded-pad signal
listener - Listener to be called when a new Pad is encountered
on the Elementpublic void disconnect(DecodeBin2.NEW_DECODED_PAD listener)
new-decoded-pad signal
listener - The listener that was previously added.public void connect(DecodeBin2.REMOVED_DECODED_PAD listener)
removed-decoded-pad signal
listener - Listener to be called when a new Pad is encountered
on the Elementpublic void disconnect(DecodeBin2.REMOVED_DECODED_PAD listener)
removed-decoded-pad signal
listener - The listener that was previously added.public void connect(DecodeBin2.UNKNOWN_TYPE listener)
unknown-type signal
listener - Listener to be called when a new Pad is encountered
on the Elementpublic void disconnect(DecodeBin2.UNKNOWN_TYPE listener)
unknown-type signal
listener - The listener that was previously added.public void connect(DecodeBin2.AUTOPLUG_CONTINUE listener)
autoplug-continue signal
listener - Listener to be called when a new Pad is encountered
on the Elementpublic void disconnect(DecodeBin2.AUTOPLUG_CONTINUE listener)
autoplug-continue signal
listener - The listener that was previously added.public void connect(DecodeBin2.AUTOPLUG_FACTORIES listener)
autoplug-factories signal
listener - Listener to be called when a new Pad is encountered
on the Elementpublic void disconnect(DecodeBin2.AUTOPLUG_FACTORIES listener)
autoplug-factories signal
listener - The listener that was previously added.public void connect(DecodeBin2.AUTOPLUG_SORT listener)
autoplug-sort signal
listener - Listener to be called when a new Pad is encountered
on the Elementpublic void disconnect(DecodeBin2.AUTOPLUG_SORT listener)
autoplug-sort signal
listener - The listener that was previously added.public void connect(DecodeBin2.DRAINED listener)
drained signal
listener - Listener to be called when a new Pad is encountered
on the Elementpublic void disconnect(DecodeBin2.DRAINED listener)
drained signal
listener - The listener that was previously added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||