public class FileSrc extends BaseSrc
BaseSrc.HANDOFF
Element.NO_MORE_PADS, Element.PAD_ADDED, Element.PAD_REMOVED
GObject.GCallback
NativeObject.Initializer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GST_NAME |
defaultInit, ownsHandle
Constructor and Description |
---|
FileSrc(NativeObject.Initializer init) |
FileSrc(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
setLocation(java.io.File location)
Sets the path of the file this source is to read.
|
void |
setLocation(java.lang.String location)
Sets the path of the file this source is to read.
|
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, 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 static final java.lang.String GST_NAME
public FileSrc(java.lang.String name)
public FileSrc(NativeObject.Initializer init)
public void setLocation(java.io.File location)
location
- the path to the file to read.public void setLocation(java.lang.String location)
location
- the path to the file to read.