Skip to content

Commit

Permalink
macos: disable too recent video format
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 29, 2024
1 parent ce76626 commit bda2884
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/score-plugin-gfx/Gfx/CameraDevice.avf.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit bda2884

Please sign in to comment.