video: use gint to make parsing easier
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 21 Jun 2011 15:31:17 +0000 (17:31 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 21 Jun 2011 15:31:17 +0000 (17:31 +0200)
Use gint for with/height etc to make it easier to pass the variables to various
caps and structure parsing functions.

gst-libs/gst/video/video.h

index d70ac71..d35677a 100644 (file)
@@ -199,18 +199,18 @@ typedef enum {
 struct _GstVideoInfo {
   GstVideoFormat format;
   GstVideoFlags  flags;
-  guint          width;
-  guint          height;
+  gint           width;
+  gint           height;
   guint          size;
 
   const gchar   *color_matrix;
   const gchar   *chroma_site;
   GstBuffer     *palette;
 
-  guint          par_n;
-  guint          par_d;
-  guint          fps_n;
-  guint          fps_d;
+  gint           par_n;
+  gint           par_d;
+  gint           fps_n;
+  gint           fps_d;
 
   guint          n_planes;
   gsize          offset[GST_VIDEO_MAX_PLANES];