From 143af467518645b897b6803d5466cc801a052b94 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 12 May 2006 22:22:37 +0000 Subject: [PATCH] Fix the build. Original commit message from CVS: * gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): Fix the build. --- ChangeLog | 6 ++++++ gst/videoscale/gstvideoscale.c | 3 ++- sys/xvimage/xvimagesink.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 113b506..c1e83f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-13 Jan Schmidt + + * gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps): + * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): + Fix the build. + 2006-05-12 Jan Schmidt * docs/libs/gst-plugins-base-libs-docs.sgml: diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index c5fc666..5d80d1c 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -545,7 +545,8 @@ gst_video_scale_fixate_caps (GstBaseTransform * base, GstPadDirection direction, /* we have both PAR but they might not be fixated */ if (from_par && to_par) { gint from_w, from_h, from_par_n, from_par_d, to_par_n, to_par_d; - gint count = 0, w = 0, h = 0, num, den; + gint count = 0, w = 0, h = 0; + guint num, den; /* from_par should be fixed */ g_return_if_fail (gst_value_is_fixed (from_par)); diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 78af43a..de35321 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -1589,7 +1589,7 @@ gst_xvimagesink_setcaps (GstBaseSink * bsink, GstCaps * caps) gint display_par_n, display_par_d; /* display's PAR */ const GValue *caps_par; const GValue *fps; - gint num, den; + guint num, den; xvimagesink = GST_XVIMAGESINK (bsink); -- 2.7.4