| Grilo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <grilo.h> struct GrlMediaVideoClass; void grl_media_video_set_width (GrlMediaVideo *video,gint width); void grl_media_video_set_height (GrlMediaVideo *video,gint height); void grl_media_video_set_framerate (GrlMediaVideo *video,gfloat framerate); gint grl_media_video_get_width (GrlMediaVideo *video); gint grl_media_video_get_height (GrlMediaVideo *video); gfloat grl_media_video_get_framerate (GrlMediaVideo *video); 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 *video,gint width);
Set the width of the video
|
the media instance |
|
the video's width |
Since 0.1.4
void grl_media_video_set_height (GrlMediaVideo *video,gint height);
Set the height of the video
|
the media instance |
|
the video's height |
Since 0.1.4
void grl_media_video_set_framerate (GrlMediaVideo *video,gfloat framerate);
Set the framerate of the video
|
the media instance |
|
the video's framerate |
Since 0.1.4
gint grl_media_video_get_width (GrlMediaVideo *video);
|
the media instance |
Returns : |
the width of the video |
Since 0.1.4
gint grl_media_video_get_height (GrlMediaVideo *video);
|
the media instance |
Returns : |
the height of the video |
Since 0.1.4
gfloat grl_media_video_get_framerate (GrlMediaVideo *video);
|
the media instance |
Returns : |
the framerate of the video |
Since 0.1.4
GrlMedia * grl_media_video_new (void);
Creates a new data video object.
Returns : |
a newly-allocated data video. |
Since 0.1.4