![]() |
![]() |
![]() |
![]() |
GstElement * | control-valve | Read / Write |
gchar * | name | Read / Write / Construct Only |
gchar * | pipeline-desc | Read / Write / Construct Only |
CheeseEffect provides an abstraction of an effect to apply to a stream from a video capture device.
CheeseEffect * cheese_effect_new (const gchar *name
,const gchar *pipeline_desc
);
Create a new CheeseEffect.
const gchar *
cheese_effect_get_name (CheeseEffect *effect
);
Get the human-readable name of the effect
.
const gchar *
cheese_effect_get_pipeline_desc (CheeseEffect *effect
);
Get the Gstreamer pipeline description of the effect
.
void
cheese_effect_enable_preview (CheeseEffect *effect
);
Enable the preview of a CheeseEffect.
void
cheese_effect_disable_preview (CheeseEffect *effect
);
Disable the preview of a CheeseEffect.
gboolean
cheese_effect_is_preview_connected (CheeseEffect *effect
);
Get whether the effect
is connected to a video stream, for previews.
GList *
cheese_effect_load_effects (void
);
Load effects from standard directories, including the user's data directory.
a list of
CheeseEffect, or NULL
if no effects could be found.
[element-type Cheese.Effect][transfer full]
CheeseEffect *
cheese_effect_load_from_file (const gchar *filename
);
Load effect from file.
“control-valve”
property“control-valve” GstElement *
If the control valve is active, then the effect is currently connected to a video stream, for previews.
Owner: CheeseEffect
Flags: Read / Write
“name”
property“name” gchar *
Name of the effect, for display in a UI.
Owner: CheeseEffect
Flags: Read / Write / Construct Only
Default value: ""
“pipeline-desc”
property“pipeline-desc” gchar *
Description of the GStreamer pipeline associated with the effect.
Owner: CheeseEffect
Flags: Read / Write / Construct Only
Default value: ""