Commit 2933302c authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

gst/videoscale/gstvideoscale.c: A width and height of 1 makes us crash, so...

gst/videoscale/gstvideoscale.c: A width and height of 1 makes us crash, so increase minimum size to 2x2 pixels until ...

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c:
A width and height of 1 makes us crash, so increase minimum size to
2x2 pixels until someone feels like fixing this (#404512).
parent e7a69850
2007-02-05 Tim-Philipp Müller <tim at centricular dot net>
* gst/videoscale/gstvideoscale.c:
A width and height of 1 makes us crash, so increase minimum size to
2x2 pixels until someone feels like fixing this (#404512).
2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
* tests/check/pipelines/oggmux.c: (GST_START_TEST), (oggmux_suite):
......@@ -89,6 +89,10 @@ enum
/* FILL ME */
};
/* can't handle width/height of 1 yet, since we divide a lot by (n-1) */
#undef GST_VIDEO_SIZE_RANGE
#define GST_VIDEO_SIZE_RANGE "(int) [ 2, MAX ]"
static GstStaticCaps gst_video_scale_format_caps[] = {
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGBx),
GST_STATIC_CAPS (GST_VIDEO_CAPS_xRGB),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment