summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-22 11:53:24 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-03-22 11:53:24 +0100
commitc44cd8f55bc0bf409e86b039cad0e2f757d5c77e (patch)
treefee1a36e4d8d8b533b6e5f0c811e4449f9d5f351 /sys
parent3e8ae7603ccbef3db071f8798a1d3809f40f8639 (diff)
parent440d7034f09de014f96ec183cd59e2b43bcf75c7 (diff)
Merge branch 'master' into 0.11
unport gdkpixbuf not merged: https://bugzilla.gnome.org/show_bug.cgi?id=654850 Conflicts: docs/plugins/Makefile.am docs/plugins/gst-plugins-good-plugins-docs.sgml docs/plugins/gst-plugins-good-plugins-sections.txt docs/plugins/gst-plugins-good-plugins.hierarchy docs/plugins/inspect/plugin-avi.xml docs/plugins/inspect/plugin-png.xml ext/flac/gstflacdec.c ext/flac/gstflacdec.h ext/libpng/gstpngdec.c ext/libpng/gstpngenc.c ext/speex/gstspeexdec.c gst/audioparsers/gstflacparse.c gst/flv/gstflvmux.c gst/rtp/gstrtpdvdepay.c gst/rtp/gstrtph264depay.c
Diffstat (limited to 'sys')
-rw-r--r--sys/ximage/gstximagesrc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ximage/gstximagesrc.c b/sys/ximage/gstximagesrc.c
index eee74d420b..0ec9688b4a 100644
--- a/sys/ximage/gstximagesrc.c
+++ b/sys/ximage/gstximagesrc.c
@@ -1053,8 +1053,7 @@ gst_ximage_src_get_caps (GstBaseSrc * bs, GstCaps * filter)
if (s->endx >= s->startx && s->endy >= s->starty) {
/* this means user has put in values */
if (s->startx < xcontext->width && s->endx < xcontext->width &&
- s->starty < xcontext->height && s->endy < xcontext->height &&
- s->startx >= 0 && s->starty >= 0) {
+ s->starty < xcontext->height && s->endy < xcontext->height) {
/* values are fine */
s->width = width = s->endx - s->startx + 1;
s->height = height = s->endy - s->starty + 1;