summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-20 16:13:50 +0200
committerwm4 <wm4@nowhere>2019-10-20 16:16:28 +0200
commit577c00510b7d42b209a51be60c135eec73b60015 (patch)
tree16a6c034cd327e89a60dbf4f7485fc509afb3302 /input
parentc9d217979e57ebfd898bd68f6ed31a9eaf851772 (diff)
downloadmpv-577c00510b7d42b209a51be60c135eec73b60015.tar.bz2
mpv-577c00510b7d42b209a51be60c135eec73b60015.tar.xz
zimg: avoid theoretical FFmpeg planar RGB/YUV mixup
The RGB pack/unpack code in theory supports packed, non-subsampled YUV, although in practice FFmpeg defines no such formats. (Only one with alpha, but all alpha input is rejected by the current code.) This would in theory have failed, because we would have selected a GBRP format (instead of YUV), which makes no sense and would either have been rejected by zimg (inconsistent parameters), or lead to broken output (wrong permutation of planes). Select the correct format and don't permute the planes in the YUV case.
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions