Table of Contents

Class BaseParse

Namespace
GstBase.Internal
Assembly
GstBase-1.0.dll
public class BaseParse
Inheritance
BaseParse
Inherited Members

Methods

AddIndexEntry(nint, ulong, ClockTime, bool, bool)

Calls native method gst_base_parse_add_index_entry.

public static extern bool AddIndexEntry(nint parse, ulong offset, ClockTime ts, bool key, bool force)

Parameters

parse nint

Transfer ownership: None Nullable: False

offset ulong

Transfer ownership: None Nullable: False

ts ClockTime

Transfer ownership: None Nullable: False

key bool

Transfer ownership: None Nullable: False

force bool

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ConvertDefault(nint, Format, long, Format, out long)

Calls native method gst_base_parse_convert_default.

public static extern bool ConvertDefault(nint parse, Format srcFormat, long srcValue, Format destFormat, out long destValue)

Parameters

parse nint

Transfer ownership: None Nullable: False

srcFormat Format

Transfer ownership: None Nullable: False

srcValue long

Transfer ownership: None Nullable: False

destFormat Format

Transfer ownership: None Nullable: False

destValue long

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Drain(nint)

Calls native method gst_base_parse_drain. Version: 1.12

[Version("1.12")]
public static extern void Drain(nint parse)

Parameters

parse nint

Transfer ownership: None Nullable: False

FinishFrame(nint, BaseParseFrameHandle, int)

Calls native method gst_base_parse_finish_frame.

public static extern FlowReturn FinishFrame(nint parse, BaseParseFrameHandle frame, int size)

Parameters

parse nint

Transfer ownership: None Nullable: False

frame BaseParseFrameHandle

Transfer ownership: None Nullable: False

size int

Transfer ownership: None Nullable: False

Returns

FlowReturn

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_base_parse_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

MergeTags(nint, TagListHandle, TagMergeMode)

Calls native method gst_base_parse_merge_tags. Version: 1.6

[Version("1.6")]
public static extern void MergeTags(nint parse, TagListHandle tags, TagMergeMode mode)

Parameters

parse nint

Transfer ownership: None Nullable: False

tags TagListHandle

Transfer ownership: None Nullable: True

mode TagMergeMode

Transfer ownership: None Nullable: False

PushFrame(nint, BaseParseFrameHandle)

Calls native method gst_base_parse_push_frame.

public static extern FlowReturn PushFrame(nint parse, BaseParseFrameHandle frame)

Parameters

parse nint

Transfer ownership: None Nullable: False

frame BaseParseFrameHandle

Transfer ownership: None Nullable: False

Returns

FlowReturn

Transfer ownership: None Nullable: False

SetAverageBitrate(nint, uint)

Calls native method gst_base_parse_set_average_bitrate.

public static extern void SetAverageBitrate(nint parse, uint bitrate)

Parameters

parse nint

Transfer ownership: None Nullable: False

bitrate uint

Transfer ownership: None Nullable: False

SetDuration(nint, Format, long, int)

Calls native method gst_base_parse_set_duration.

public static extern void SetDuration(nint parse, Format fmt, long duration, int interval)

Parameters

parse nint

Transfer ownership: None Nullable: False

fmt Format

Transfer ownership: None Nullable: False

duration long

Transfer ownership: None Nullable: False

interval int

Transfer ownership: None Nullable: False

SetFrameRate(nint, uint, uint, uint, uint)

Calls native method gst_base_parse_set_frame_rate.

public static extern void SetFrameRate(nint parse, uint fpsNum, uint fpsDen, uint leadIn, uint leadOut)

Parameters

parse nint

Transfer ownership: None Nullable: False

fpsNum uint

Transfer ownership: None Nullable: False

fpsDen uint

Transfer ownership: None Nullable: False

leadIn uint

Transfer ownership: None Nullable: False

leadOut uint

Transfer ownership: None Nullable: False

SetHasTimingInfo(nint, bool)

Calls native method gst_base_parse_set_has_timing_info.

public static extern void SetHasTimingInfo(nint parse, bool hasTiming)

Parameters

parse nint

Transfer ownership: None Nullable: False

hasTiming bool

Transfer ownership: None Nullable: False

SetInferTs(nint, bool)

Calls native method gst_base_parse_set_infer_ts.

public static extern void SetInferTs(nint parse, bool inferTs)

Parameters

parse nint

Transfer ownership: None Nullable: False

inferTs bool

Transfer ownership: None Nullable: False

SetLatency(nint, ClockTime, ClockTime)

Calls native method gst_base_parse_set_latency.

public static extern void SetLatency(nint parse, ClockTime minLatency, ClockTime maxLatency)

Parameters

parse nint

Transfer ownership: None Nullable: False

minLatency ClockTime

Transfer ownership: None Nullable: False

maxLatency ClockTime

Transfer ownership: None Nullable: False

SetMinFrameSize(nint, uint)

Calls native method gst_base_parse_set_min_frame_size.

public static extern void SetMinFrameSize(nint parse, uint minSize)

Parameters

parse nint

Transfer ownership: None Nullable: False

minSize uint

Transfer ownership: None Nullable: False

SetPassthrough(nint, bool)

Calls native method gst_base_parse_set_passthrough.

public static extern void SetPassthrough(nint parse, bool passthrough)

Parameters

parse nint

Transfer ownership: None Nullable: False

passthrough bool

Transfer ownership: None Nullable: False

SetPtsInterpolation(nint, bool)

Calls native method gst_base_parse_set_pts_interpolation.

public static extern void SetPtsInterpolation(nint parse, bool ptsInterpolate)

Parameters

parse nint

Transfer ownership: None Nullable: False

ptsInterpolate bool

Transfer ownership: None Nullable: False

SetSyncable(nint, bool)

Calls native method gst_base_parse_set_syncable.

public static extern void SetSyncable(nint parse, bool syncable)

Parameters

parse nint

Transfer ownership: None Nullable: False

syncable bool

Transfer ownership: None Nullable: False

SetTsAtOffset(nint, nuint)

Calls native method gst_base_parse_set_ts_at_offset. Version: 1.2

[Version("1.2")]
public static extern void SetTsAtOffset(nint parse, nuint offset)

Parameters

parse nint

Transfer ownership: None Nullable: False

offset nuint

Transfer ownership: None Nullable: False