diff options
author | Marvin Scholz <epirat07@gmail.com> | 2024-05-20 03:12:01 +0200 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-07-05 19:13:43 +0800 |
commit | cd9ceaef22ecc25278c771169d179dbfdb24a355 (patch) | |
tree | efea9f6ed9b2aa79131d56da75706f37cf375509 /libavutil/hwcontext_cuda.h | |
parent | b4f9fcc63c29827f3bd2822f0d6ba6af098c9cb7 (diff) | |
download | ffmpeg-cd9ceaef22ecc25278c771169d179dbfdb24a355.tar.gz |
avutil/hwcontext_videotoolbox: Set CVBuffer CGColorSpace
In addition to the other properties, try to obtain the right
CGColorSpace and set it as well, else it could lead to a CVBuffer
tagged as BT.2020 but with a CGColorSpace indicating BT.709.
Therefore it is essential for consistency to set a colorspace
according to the other values, or if none can be obtained (for example
because the other values are all unspecified) unset it as well.
Fix #10884
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavutil/hwcontext_cuda.h')
0 files changed, 0 insertions, 0 deletions