Changeset e3c7b224 in ffmpeg
- Timestamp:
-
Apr 21, 2020, 6:00:51 PM
(5 years ago)
- Author:
- Lynne <dev@lynne.ee>
- Branches:
- master
- Children:
- 561ba15c
- Parents:
- 8a4fda02
- git-author:
- Lynne <dev@lynne.ee> (04/21/20 17:55:24)
- git-committer:
- Lynne <dev@lynne.ee> (04/21/20 18:00:51)
- Message:
-
hwcontext_vulkan: correctly download and upload flipped images
We derive the destination buffer stride from the input stride,
which meant if the image was flipped with a negative stride,
we'd be FFALIGNING a negative number which ends up being huge,
thus making the Vulkan buffer allocation fail and the whole
image transfer fail.
Only found out about this as OpenGL compositors can copy an entire
image with a single call if its flipped, rather than iterate over
each line.
-
(No files)
-