projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d90a28
)
video-scaler: scale enough pixels in YUY2 (and friends) mode
author
Wim Taymans
<wtaymans@redhat.com>
Tue, 21 Apr 2015 11:16:29 +0000
(13:16 +0200)
committer
Wim Taymans
<wtaymans@redhat.com>
Tue, 21 Apr 2015 11:16:29 +0000
(13:16 +0200)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=747790
gst-libs/gst/video/video-scaler.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video-scaler.c
b/gst-libs/gst/video/video-scaler.c
index
b637775
..
07c92b0
100644
(file)
--- a/
gst-libs/gst/video/video-scaler.c
+++ b/
gst-libs/gst/video/video-scaler.c
@@
-1488,7
+1488,8
@@
gst_video_scaler_2d (GstVideoScaler * hscale, GstVideoScaler * vscale,
vx = (hscale->inc * x) >> 16;
vx = MIN (vx, hscale->resampler.offset[x]);
vw = (hscale->inc * (x + width)) >> 16;
- vw = MAX (vw, hscale->resampler.offset[x + width - 1] + h_taps);
+ vw = MAX (vw,
+ hscale->resampler.offset[x + width - 1] + (mult * h_taps));
vw += 1;
if (vscale->tmpwidth < vw)