|
|
@@ -424,11 +424,12 @@ static void vt_h264_video_info(void *data, struct video_scale_info *info)
|
|
|
enc->vt_pix_fmt = enc->fullrange ?
|
|
|
kCVPixelFormatType_420YpCbCr8PlanarFullRange
|
|
|
: kCVPixelFormatType_420YpCbCr8Planar;
|
|
|
- } else if (info->format == VIDEO_FORMAT_I444) {
|
|
|
- enc->obs_pix_fmt = info->format;
|
|
|
- enc->vt_pix_fmt = kCVPixelFormatType_444YpCbCr10;
|
|
|
+ return;
|
|
|
}
|
|
|
|
|
|
+ if (info->format == VIDEO_FORMAT_I444)
|
|
|
+ VT_BLOG(LOG_WARNING, "I444 color format not supported");
|
|
|
+
|
|
|
// Anything else, return default
|
|
|
enc->obs_pix_fmt = VIDEO_FORMAT_NV12;
|
|
|
enc->vt_pix_fmt = enc->fullrange ?
|