Table of Contents

Class BaseSrc

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

Methods

GetBlocksize(IntPtr)

Calls native method gst_base_src_get_blocksize.

public static extern uint GetBlocksize(IntPtr src)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetBufferPool(IntPtr)

Calls native method gst_base_src_get_buffer_pool.

public static extern IntPtr GetBufferPool(IntPtr src)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetDoTimestamp(IntPtr)

Calls native method gst_base_src_get_do_timestamp.

public static extern bool GetDoTimestamp(IntPtr src)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_base_src_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

IsAsync(IntPtr)

Calls native method gst_base_src_is_async.

public static extern bool IsAsync(IntPtr src)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsLive(IntPtr)

Calls native method gst_base_src_is_live.

public static extern bool IsLive(IntPtr src)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Negotiate(IntPtr)

Calls native method gst_base_src_negotiate. Version: 1.18

[Version("1.18")]
public static extern bool Negotiate(IntPtr src)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

NewSeamlessSegment(IntPtr, long, long, long)

Calls native method gst_base_src_new_seamless_segment.

public static extern bool NewSeamlessSegment(IntPtr src, long start, long stop, long time)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

start long

Transfer ownership: None Nullable: False

stop long

Transfer ownership: None Nullable: False

time long

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

NewSegment(IntPtr, SegmentHandle)

Calls native method gst_base_src_new_segment. Version: 1.18

[Version("1.18")]
public static extern bool NewSegment(IntPtr src, SegmentHandle segment)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

segment SegmentHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

QueryLatency(IntPtr, out bool, out ClockTime, out ClockTime)

Calls native method gst_base_src_query_latency.

public static extern bool QueryLatency(IntPtr src, out bool live, out ClockTime minLatency, out ClockTime maxLatency)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

live bool

Transfer ownership: Full Nullable: False

minLatency ClockTime

Transfer ownership: Full Nullable: False

maxLatency ClockTime

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetAsync(IntPtr, bool)

Calls native method gst_base_src_set_async.

public static extern void SetAsync(IntPtr src, bool async)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

async bool

Transfer ownership: None Nullable: False

SetAutomaticEos(IntPtr, bool)

Calls native method gst_base_src_set_automatic_eos. Version: 1.4

[Version("1.4")]
public static extern void SetAutomaticEos(IntPtr src, bool automaticEos)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

automaticEos bool

Transfer ownership: None Nullable: False

SetBlocksize(IntPtr, uint)

Calls native method gst_base_src_set_blocksize.

public static extern void SetBlocksize(IntPtr src, uint blocksize)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

blocksize uint

Transfer ownership: None Nullable: False

SetCaps(IntPtr, CapsHandle)

Calls native method gst_base_src_set_caps.

public static extern bool SetCaps(IntPtr src, CapsHandle caps)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

caps CapsHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetDoTimestamp(IntPtr, bool)

Calls native method gst_base_src_set_do_timestamp.

public static extern void SetDoTimestamp(IntPtr src, bool timestamp)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

timestamp bool

Transfer ownership: None Nullable: False

SetDynamicSize(IntPtr, bool)

Calls native method gst_base_src_set_dynamic_size.

public static extern void SetDynamicSize(IntPtr src, bool dynamic)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

dynamic bool

Transfer ownership: None Nullable: False

SetFormat(IntPtr, Format)

Calls native method gst_base_src_set_format.

public static extern void SetFormat(IntPtr src, Format format)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

format Format

Transfer ownership: None Nullable: False

SetLive(IntPtr, bool)

Calls native method gst_base_src_set_live.

public static extern void SetLive(IntPtr src, bool live)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

live bool

Transfer ownership: None Nullable: False

StartComplete(IntPtr, FlowReturn)

Calls native method gst_base_src_start_complete.

public static extern void StartComplete(IntPtr basesrc, FlowReturn ret)

Parameters

basesrc IntPtr

Transfer ownership: None Nullable: False

ret FlowReturn

Transfer ownership: None Nullable: False

StartWait(IntPtr)

Calls native method gst_base_src_start_wait.

public static extern FlowReturn StartWait(IntPtr basesrc)

Parameters

basesrc IntPtr

Transfer ownership: None Nullable: False

Returns

FlowReturn

Transfer ownership: None Nullable: False

SubmitBufferList(IntPtr, BufferListUnownedHandle)

Calls native method gst_base_src_submit_buffer_list. Version: 1.14

[Version("1.14")]
public static extern void SubmitBufferList(IntPtr src, BufferListUnownedHandle bufferList)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

bufferList BufferListUnownedHandle

Transfer ownership: Full Nullable: False

WaitPlaying(IntPtr)

Calls native method gst_base_src_wait_playing.

public static extern FlowReturn WaitPlaying(IntPtr src)

Parameters

src IntPtr

Transfer ownership: None Nullable: False

Returns

FlowReturn

Transfer ownership: None Nullable: False