video-scaler: Correctly handle interlaced vertical scalers in gst_video_scaler_2d()
authorSebastian Dröge <sebastian@centricular.com>
Mon, 21 Oct 2019 14:28:46 +0000 (17:28 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 22 Oct 2019 06:50:27 +0000 (09:50 +0300)
commitc9f132986c51a10de524a18c1bf31fc24b035b31
tree3cb5a64fd3a1c47b31df79f1ba00bbc827d1c24a
parent255beae3ec6b2f22f1a25eff623382e44702e2a5
video-scaler: Correctly handle interlaced vertical scalers in gst_video_scaler_2d()

We need to provide twice as many lines as usual to the scaling function
as every second lines would be skipped.

Without this we read from random memory and produce colorful output and
crashes.
gst-libs/gst/video/video-scaler.c