Class BaseParse
- Namespace
- GstBase
- Assembly
- GstBase-1.0.dll
public class BaseParse : Element, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
BaseParse
- Implements
-
- Inherited Members
-
Constructors
BaseParse(params ConstructArgument[])
public BaseParse(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
BaseParse(BaseParseHandle)
public BaseParse(BaseParseHandle handle)
Parameters
handle
BaseParseHandle
Fields
DisablePassthroughPropertyDefinition
public static readonly Property<bool, BaseParse> DisablePassthroughPropertyDefinition
Field Value
- Property<bool, BaseParse>
Properties
DisablePassthrough
public bool DisablePassthrough { get; set; }
Property Value
- bool
Methods
AddIndexEntry(ulong, ClockTime, bool, bool)
public bool AddIndexEntry(ulong offset, ClockTime ts, bool key, bool force)
Parameters
offset
ulong
ts
ClockTime
key
bool
force
bool
Returns
- bool
public bool ConvertDefault(Format srcFormat, long srcValue, Format destFormat, out long destValue)
Parameters
srcFormat
Format
srcValue
long
destFormat
Format
destValue
long
Returns
- bool
Drain()
[Version("1.12")]
public void Drain()
FinishFrame(BaseParseFrame, int)
public FlowReturn FinishFrame(BaseParseFrame frame, int size)
Parameters
frame
BaseParseFrame
size
int
Returns
- FlowReturn
GetGType()
public static Type GetGType()
Returns
- Type
[Version("1.6")]
public void MergeTags(TagList? tags, TagMergeMode mode)
Parameters
tags
TagList
mode
TagMergeMode
PushFrame(BaseParseFrame)
public FlowReturn PushFrame(BaseParseFrame frame)
Parameters
frame
BaseParseFrame
Returns
- FlowReturn
SetAverageBitrate(uint)
public void SetAverageBitrate(uint bitrate)
Parameters
bitrate
uint
public void SetDuration(Format fmt, long duration, int interval)
Parameters
fmt
Format
duration
long
interval
int
SetFrameRate(uint, uint, uint, uint)
public void SetFrameRate(uint fpsNum, uint fpsDen, uint leadIn, uint leadOut)
Parameters
fpsNum
uint
fpsDen
uint
leadIn
uint
leadOut
uint
SetHasTimingInfo(bool)
public void SetHasTimingInfo(bool hasTiming)
Parameters
hasTiming
bool
SetInferTs(bool)
public void SetInferTs(bool inferTs)
Parameters
inferTs
bool
SetLatency(ClockTime, ClockTime)
public void SetLatency(ClockTime minLatency, ClockTime maxLatency)
Parameters
minLatency
ClockTime
maxLatency
ClockTime
SetMinFrameSize(uint)
public void SetMinFrameSize(uint minSize)
Parameters
minSize
uint
SetPassthrough(bool)
public void SetPassthrough(bool passthrough)
Parameters
passthrough
bool
SetPtsInterpolation(bool)
public void SetPtsInterpolation(bool ptsInterpolate)
Parameters
ptsInterpolate
bool
SetSyncable(bool)
public void SetSyncable(bool syncable)
Parameters
syncable
bool
SetTsAtOffset(nuint)
[Version("1.2")]
public void SetTsAtOffset(nuint offset)
Parameters
offset
nuint