mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
video-scaler: scale enough pixels in YUY2 (and friends) mode
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=747790
This commit is contained in:
parent
5d90a28d5f
commit
8f82ee70f9
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue