diff --git a/sys/applemedia/avfvideosrc.m b/sys/applemedia/avfvideosrc.m index 9667f5e202..f7f4b6dadb 100644 --- a/sys/applemedia/avfvideosrc.m +++ b/sys/applemedia/avfvideosrc.m @@ -295,7 +295,8 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer continue; } - gst_caps_append (result, GST_AVF_CAPS_NEW (gstformat, 192, 144)); + if ([session canSetSessionPreset:AVCaptureSessionPresetLow]) + gst_caps_append (result, GST_AVF_CAPS_NEW (gstformat, 192, 144)); if ([session canSetSessionPreset:AVCaptureSessionPreset352x288]) gst_caps_append (result, GST_AVF_CAPS_NEW (gstformat, 352, 288)); if ([session canSetSessionPreset:AVCaptureSessionPresetMedium])