video: use gint to make parsing easier

Use gint for with/height etc to make it easier to pass the variables to various
caps and structure parsing functions.
This commit is contained in:
Wim Taymans 2011-06-21 17:31:17 +02:00
parent b43121e061
commit 296630a959

View file

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