Class BaseSrc
- Namespace
- GstBase
- Assembly
- GstBase-1.0.dll
public class BaseSrc : Element, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
BaseSrc
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
BaseSrc()
BaseSrc(params ConstructArgument[])
protected BaseSrc(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
BaseSrc(IntPtr, bool)
protected BaseSrc(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
BlocksizePropertyDefinition
public static readonly Property<uint, BaseSrc> BlocksizePropertyDefinition
Field Value
- Property<uint, BaseSrc>
DoTimestampPropertyDefinition
public static readonly Property<bool, BaseSrc> DoTimestampPropertyDefinition
Field Value
- Property<bool, BaseSrc>
NumBuffersPropertyDefinition
public static readonly Property<int, BaseSrc> NumBuffersPropertyDefinition
Field Value
- Property<int, BaseSrc>
TypefindPropertyDefinition
public static readonly Property<bool, BaseSrc> TypefindPropertyDefinition
Field Value
- Property<bool, BaseSrc>
Properties
Blocksize
public uint Blocksize { get; set; }
Property Value
- uint
DoTimestamp
public bool DoTimestamp { get; set; }
Property Value
- bool
NumBuffers
public int NumBuffers { get; set; }
Property Value
- int
Typefind
public bool Typefind { get; set; }
Property Value
- bool
Methods
GetBlocksize()
public uint GetBlocksize()
Returns
- uint
GetBufferPool()
public BufferPool? GetBufferPool()
Returns
- BufferPool
GetDoTimestamp()
public bool GetDoTimestamp()
Returns
- bool
GetGType()
public static Type GetGType()
Returns
- Type
IsAsync()
Returns
- bool
IsLive()
Returns
- bool
Negotiate()
[Version("1.18")]
public bool Negotiate()
Returns
- bool
NewSeamlessSegment(long, long, long)
public bool NewSeamlessSegment(long start, long stop, long time)
Parameters
start
long
stop
long
time
long
Returns
- bool
NewSegment(Segment)
[Version("1.18")]
public bool NewSegment(Segment segment)
Parameters
segment
Segment
Returns
- bool
QueryLatency(out bool, out ClockTime, out ClockTime)
public bool QueryLatency(out bool live, out ClockTime minLatency, out ClockTime maxLatency)
Parameters
live
bool
minLatency
ClockTime
maxLatency
ClockTime
Returns
- bool
SetAsync(bool)
public void SetAsync(bool async)
Parameters
async
bool
SetAutomaticEos(bool)
[Version("1.4")]
public void SetAutomaticEos(bool automaticEos)
Parameters
automaticEos
bool
SetBlocksize(uint)
public void SetBlocksize(uint blocksize)
Parameters
blocksize
uint
SetCaps(Caps)
public bool SetCaps(Caps caps)
Parameters
caps
Caps
Returns
- bool
SetDoTimestamp(bool)
public void SetDoTimestamp(bool timestamp)
Parameters
timestamp
bool
SetDynamicSize(bool)
public void SetDynamicSize(bool dynamic)
Parameters
dynamic
bool
public void SetFormat(Format format)
Parameters
format
Format
SetLive(bool)
public void SetLive(bool live)
Parameters
live
bool
StartComplete(FlowReturn)
public void StartComplete(FlowReturn ret)
Parameters
ret
FlowReturn
StartWait()
public FlowReturn StartWait()
Returns
- FlowReturn
SubmitBufferList(BufferList)
[Version("1.14")]
public void SubmitBufferList(BufferList bufferList)
Parameters
bufferList
BufferList
WaitPlaying()
public FlowReturn WaitPlaying()
Returns
- FlowReturn