Top |
AsVideoCodecKind | as_video_codec_kind_from_string () |
const gchar * | as_video_codec_kind_to_string () |
AsVideoContainerKind | as_video_container_kind_from_string () |
const gchar * | as_video_container_kind_to_string () |
AsVideo * | as_video_new () |
AsVideoCodecKind | as_video_get_codec_kind () |
void | as_video_set_codec_kind () |
AsVideoContainerKind | as_video_get_container_kind () |
void | as_video_set_container_kind () |
const gchar * | as_video_get_url () |
void | as_video_set_url () |
guint | as_video_get_width () |
void | as_video_set_width () |
guint | as_video_get_height () |
void | as_video_set_height () |
const gchar * | as_video_get_locale () |
void | as_video_set_locale () |
#define | AS_TYPE_VIDEO |
struct | AsVideoClass |
enum | AsVideoCodecKind |
enum | AsVideoContainerKind |
AsVideo |
Screenshot may have a video instead of a static image associated with them. This object allows access to the video and basic information about it.
See also: AsScreenshot, AsImage
AsVideoCodecKind
as_video_codec_kind_from_string (const gchar *str
);
Converts the text representation to an enumerated value.
const gchar *
as_video_codec_kind_to_string (AsVideoCodecKind kind
);
Converts the enumerated value to an text representation.
AsVideoContainerKind
as_video_container_kind_from_string (const gchar *str
);
Converts the text representation to an enumerated value.
const gchar *
as_video_container_kind_to_string (AsVideoContainerKind kind
);
Converts the enumerated value to an text representation.
AsVideoCodecKind
as_video_get_codec_kind (AsVideo *video
);
Gets the video codec, if known.
void as_video_set_codec_kind (AsVideo *video
,AsVideoCodecKind kind
);
Sets the video codec.
AsVideoContainerKind
as_video_get_container_kind (AsVideo *video
);
Gets the video container format, if known.
void as_video_set_container_kind (AsVideo *video
,AsVideoContainerKind kind
);
Sets the video container.
video |
a AsVideo instance. |
|
kind |
the AsVideoContainerKind, e.g. |
const gchar *
as_video_get_url (AsVideo *video
);
Gets the full qualified URL for the video, usually pointing at a mirror or CDN server.
void as_video_set_url (AsVideo *video
,const gchar *url
);
Sets the fully-qualified URL to use for the video.
void as_video_set_height (AsVideo *video
,guint height
);
Sets the video height.
const gchar *
as_video_get_locale (AsVideo *video
);
Get locale for this video.