![]() |
![]() |
![]() |
Grilo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <grilo.h> 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.
typedef struct { GrlMediaClass parent_class; } GrlMediaVideoClass;
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 |
Since 0.1.4
void grl_media_video_set_height (GrlMediaVideo *data
,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 *data
,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 *data
);
|
the media instance |
Returns : |
the width of the video |
Since 0.1.4
gint grl_media_video_get_height (GrlMediaVideo *data
);
|
the media instance |
Returns : |
the height of the video |
Since 0.1.4
gfloat grl_media_video_get_framerate (GrlMediaVideo *data
);
|
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