From bda2884db644b698ac5546023fec241670411e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Fri, 27 Dec 2024 16:12:35 -0500 Subject: [PATCH] macos: disable too recent video format --- src/plugins/score-plugin-gfx/Gfx/CameraDevice.avf.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/score-plugin-gfx/Gfx/CameraDevice.avf.mm b/src/plugins/score-plugin-gfx/Gfx/CameraDevice.avf.mm index dca758ed07..4b3e05b9b0 100644 --- a/src/plugins/score-plugin-gfx/Gfx/CameraDevice.avf.mm +++ b/src/plugins/score-plugin-gfx/Gfx/CameraDevice.avf.mm @@ -100,8 +100,10 @@ static constexpr avf_to_ffmpeg avf_pixelformat_to_ffmpeg(uint32_t fourcc) return {AV_PIX_FMT_GRAY16BE, AVCOL_RANGE_JPEG}; case kCVPixelFormatType_30RGB: /* 30 bit RGB, 10-bit big-endian samples, 2 unused padding bits (at least significant end). */ return {}; +#if 0 case kCVPixelFormatType_30RGB_r210: /* 30 bit RGB, 10-bit big-endian samples, 2 unused padding bits (at most significant end), video-range (64-940). */ return {}; +#endif // case kCVPixelFormatType_422YpCbCr8: /* Component Y'CbCr 8-bit 4:2:2, ordered Cb Y'0 Cr Y'1 */ // case kCVPixelFormatType_4444YpCbCrA8: /* Component Y'CbCrA 8-bit 4:4:4:4, ordered Cb Y' Cr A */ case kCVPixelFormatType_4444YpCbCrA8R: /* Component Y'CbCrA 8-bit 4:4:4:4, rendering format. full range alpha, zero biased YUV, ordered A Y' Cb Cr */