mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
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.
This commit is contained in:
parent
34db0838be
commit
143af46751
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-05-13 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
|
* gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps):
|
||||||
|
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
|
||||||
|
Fix the build.
|
||||||
|
|
||||||
2006-05-12 Jan Schmidt <thaytan@mad.scientist.com>
|
2006-05-12 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* docs/libs/gst-plugins-base-libs-docs.sgml:
|
* docs/libs/gst-plugins-base-libs-docs.sgml:
|
||||||
|
|
|
@ -545,7 +545,8 @@ gst_video_scale_fixate_caps (GstBaseTransform * base, GstPadDirection direction,
|
||||||
/* we have both PAR but they might not be fixated */
|
/* we have both PAR but they might not be fixated */
|
||||||
if (from_par && to_par) {
|
if (from_par && to_par) {
|
||||||
gint from_w, from_h, from_par_n, from_par_d, to_par_n, to_par_d;
|
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 */
|
/* from_par should be fixed */
|
||||||
g_return_if_fail (gst_value_is_fixed (from_par));
|
g_return_if_fail (gst_value_is_fixed (from_par));
|
||||||
|
|
|
@ -1589,7 +1589,7 @@ gst_xvimagesink_setcaps (GstBaseSink * bsink, GstCaps * caps)
|
||||||
gint display_par_n, display_par_d; /* display's PAR */
|
gint display_par_n, display_par_d; /* display's PAR */
|
||||||
const GValue *caps_par;
|
const GValue *caps_par;
|
||||||
const GValue *fps;
|
const GValue *fps;
|
||||||
gint num, den;
|
guint num, den;
|
||||||
|
|
||||||
xvimagesink = GST_XVIMAGESINK (bsink);
|
xvimagesink = GST_XVIMAGESINK (bsink);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue