![]() |
![]() |
![]() |
GStreamer Editing Services 1.2.1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <ges/ges.h> GESUriClip; GESUriClip * ges_uri_clip_new (gchar *uri
); const gchar * ges_uri_clip_get_uri (GESUriClip *self
); gboolean ges_uri_clip_is_image (GESUriClip *self
); gboolean ges_uri_clip_is_muted (GESUriClip *self
); void ges_uri_clip_set_is_image (GESUriClip *self
,gboolean is_image
); void ges_uri_clip_set_mute (GESUriClip *self
,gboolean mute
);
GObject +----GInitiallyUnowned +----GESTimelineElement +----GESContainer +----GESClip +----GESSourceClip +----GESUriClip
"is-image" gboolean : Read / Write / Construct "mute" gboolean : Read / Write / Construct "supported-formats" GESTrackType : Read / Write / Construct "uri" gchar* : Read / Write / Construct Only
Represents all the output streams from a particular uri. It is assumed that the URI points to a file of some type.
GESUriClip * ges_uri_clip_new (gchar *uri
);
Creates a new GESUriClip for the provided uri
.
|
the URI the source should control |
Returns : |
The newly created GESUriClip, or NULL if there was an error. |
const gchar * ges_uri_clip_get_uri (GESUriClip *self
);
Get the location of the resource.
|
the GESUriClip |
Returns : |
The location of the resource. |
gboolean ges_uri_clip_is_image (GESUriClip *self
);
Lets you know if self
is an image or not.
|
the GESUriClip |
Returns : |
TRUE if self is a still image FALSE otherwise. |
gboolean ges_uri_clip_is_muted (GESUriClip *self
);
Lets you know if the audio track of self
is muted or not.
|
the GESUriClip |
Returns : |
TRUE if the audio track of self is muted, FALSE otherwise. |
void ges_uri_clip_set_is_image (GESUriClip *self
,gboolean is_image
);
Sets whether the clip is a still image or not.
|
the GESUriClip |
|
TRUE if self is a still image, FALSE otherwise |
void ges_uri_clip_set_mute (GESUriClip *self
,gboolean mute
);
Sets whether the audio track of this clip is muted or not.
|
the GESUriClip on which to mute or unmute the audio track |
|
TRUE to mute self audio track, FALSE to unmute it |
"is-image"
property"is-image" gboolean : Read / Write / Construct
Whether this filesource represents a still image or not. This must be set before create_track_elements is called.
Default value: FALSE
"mute"
property"mute" gboolean : Read / Write / Construct
Whether the sound will be played or not.
Default value: FALSE
"supported-formats"
property"supported-formats" GESTrackType : Read / Write / Construct
Formats supported by the file.
Default value: GES_TRACK_TYPE_UNKNOWN
"uri"
property"uri" gchar* : Read / Write / Construct Only
The location of the file/resource to use.
Default value: NULL