mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
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).
This commit is contained in:
parent
e7a698506c
commit
2933302ce8
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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),
|
||||
|
|
Loading…
Reference in a new issue