mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
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:
parent
b43121e061
commit
296630a959
1 changed files with 6 additions and 6 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue