| Grilo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <grilo.h> struct GrlMediaVideoClass; void grl_media_video_set_width (GrlMediaVideo *data,gint width); void grl_media_video_set_height (GrlMediaVideo *data,gint height); void grl_media_video_set_framerate (GrlMediaVideo *data,gfloat framerate); gint grl_media_video_get_width (GrlMediaVideo *data); gint grl_media_video_get_height (GrlMediaVideo *data); gfloat grl_media_video_get_framerate (GrlMediaVideo *data); GrlMedia * grl_media_video_new (void); void grl_media_video_set_size (GrlMediaVideo *video,gint width,gint height);
This high level class represents an video multimedia item. It has methods to set and get properties like framerate, width, height, and so on.
struct GrlMediaVideoClass {
GrlMediaClass parent_class;
};
Grilo Media video Class
GrlMediaClass |
the parent class structure |
void grl_media_video_set_width (GrlMediaVideo *data,gint width);
Set the width of the video
|
the media instance |
|
the video's width |
void grl_media_video_set_height (GrlMediaVideo *data,gint height);
Set the height of the video
|
the media instance |
|
the video's height |
void grl_media_video_set_framerate (GrlMediaVideo *data,gfloat framerate);
Set the framerate of the video
|
the media instance |
|
the video's framerate |
gint grl_media_video_get_width (GrlMediaVideo *data);
|
the media instance |
Returns : |
the width of the video |
gint grl_media_video_get_height (GrlMediaVideo *data);
|
the media instance |
Returns : |
the height of the video |
gfloat grl_media_video_get_framerate (GrlMediaVideo *data);
|
the media instance |
Returns : |
the framerate of the video |
GrlMedia * grl_media_video_new (void);
Creates a new data video object.
Returns : |
a newly-allocated data video. |