[clutter-gst] ClutterGstVideoResolution: Add new simple type representing a video resolution.



commit b6d16c43ae7e4286aa63266ec2bd7ff890f09a9d
Author: Andre Moreira Magalhaes (andrunko) <andre magalhaes collabora co uk>
Date:   Wed Aug 15 15:32:36 2012 -0300

    ClutterGstVideoResolution: Add new simple type representing a video resolution.

 clutter-gst/clutter-gst-types.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/clutter-gst/clutter-gst-types.h b/clutter-gst/clutter-gst-types.h
index 60f952b..60b8d95 100644
--- a/clutter-gst/clutter-gst-types.h
+++ b/clutter-gst/clutter-gst-types.h
@@ -32,6 +32,8 @@
 #ifndef __CLUTTER_GST_TYPES_H__
 #define __CLUTTER_GST_TYPES_H__
 
+typedef struct _ClutterGstVideoResolution ClutterGstVideoResolution;
+
 /**
  * ClutterGstSeekFlags:
  * @CLUTTER_GST_SEEK_FLAG_NONE: Fast seeks (key frame boundaries, default)
@@ -62,4 +64,17 @@ typedef enum _ClutterGstBufferingMode
   CLUTTER_GST_BUFFERING_MODE_DOWNLOAD
 } ClutterGstBufferingMode;
 
+/**
+ * ClutterGstVideoResolution:
+ * @width: the width, in pixels
+ * @height: the height, in pixels
+ *
+ * A video resolution.
+ */
+struct _ClutterGstVideoResolution
+{
+  gint width;
+  gint height;
+};
+
 #endif /* __CLUTTER_GST_TYPES_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]