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)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 24 Oct 2019 17:07:55 +0000 (18:07 +0100)
commita6d24b3c5ff59445679350cdb7ce56f9a9e15787
tree74e2a0b21c3611b9cc2f729d2435faf54c616f4d
parentb2a5c9f856ce07eb40d43a2cc1c6a250d204c3d5
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