diff --git a/plugins/mac-vth264/encoder.c b/plugins/mac-vth264/encoder.c index a9aab1f64d649caa07f20e06998a9ad20a38c5d1..71e5e897eeecf534ba48503aa9dc10c3c823ff28 100644 --- a/plugins/mac-vth264/encoder.c +++ b/plugins/mac-vth264/encoder.c @@ -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 ?