swscale: scale within the crop area, not top-left (really fixes #12085)
Unfortunately, this can cause a slight offset of the colour planes if the
top/left crop offset is not a multiple of the subsampling ratio.
(cherry picked from commit 05c433624791b01babcb1ccb72766fb2a5062fab)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Conflicts:
modules/video_chroma/swscale.c
Showing
Please register or sign in to comment