Source

Description

Source interface

flu_source_ref ()

FluSource * flu_source_ref (FluSource *thiz);

flu_source_unref ()

void flu_source_unref (FluSource *thiz);

flu_source_type_get ()

FluSourceType flu_source_type_get (FluSource *thiz);

Gets the type of a FluSource

Parameters

thiz

The stream to get the type from

Returns

The type of the stream

flu_source_buffering_policy_set ()

void flu_source_buffering_policy_set (FluSource *thiz, FluBufferingPolicy policy, gint size, gint64 time);

flu_source_buffering_policy_get ()

FluBufferingPolicy flu_source_buffering_policy_get (FluSource *thiz, gint *size, gint64 *time);

flu_source_list_free ()

void flu_source_list_free (GList *l);

Frees a list of streams

Parameters

l

The list of streams to free

flu_source_get_name ()

char * flu_source_get_name (FluSource *thiz);

Return source name

Parameters

thiz

The FluSource to get the name

Returns

Source name

Types and Values

enum FluSourceType

Enum values used to describe an Flusource type

FLU_SOURCE_TYPE_UNKNOWN

Unknown type of source

FLU_SOURCE_TYPE_URI

URI based source

FLU_SOURCE_TYPE_DEVICE

FluDevice based source

FLU_SOURCE_TYPE_CUSTOM

Application based custom source

FluSource

typedef struct { GstObject base; GstElement *element; /* type information */ FluSourceType type; /* buffering information */ FluBufferingPolicy buffering_policy; gint buffering_size; gint64 buffering_time; gchar* name; } FluSource;