Top |
FluSource * | flu_source_ref () |
|
flu_source_unref () |
FluSourceType | flu_source_type_get () |
|
flu_source_buffering_policy_set () |
FluBufferingPolicy | flu_source_buffering_policy_get () |
|
flu_source_list_free () |
const |
flu_source_get_name () |
FluSourceType
flu_source_type_get (FluSource *thiz
);
Gets the type of a FluSource
void flu_source_buffering_policy_set (FluSource *thiz
,FluBufferingPolicy policy
,,
gint size);
gint64 time
Sets the buffering policy on a source
In case the policy used is FLU_BUFFERING_POLICY_NONE the size and time parameters are ignored
thiz |
The FluSource to set the buffering policy |
|
policy |
The FluBufferingPolicy to set |
|
size |
The minimum size in bytes for the buffering queue |
|
time |
The minimum time in nanoseconds for the buffering queue |
FluBufferingPolicy flu_source_buffering_policy_get (FluSource *thiz
,,
gint *size);
gint64 *time
Gets the buffering policy from a source
Enum values used to describe an
Unknown type of source |
||
URI based source |
||
FluDevice based source |
||
Application based custom source |
typedef struct { GstObject base; GstElement *element; GstElement *real_src; gchar *name; gboolean setup; /* type information */ FluSourceType type; /* buffering information */ FluBufferingPolicy buffering_policy; gint buffering_size; gint64 buffering_time; /* the engine we are using */ FluEngine *engine; /* the streams for this source */ GList *streams[FLU_STREAM_TYPES]; /* Active User Operation Prohibitions (UOP) */ FluUserOperation uop; } FluSource;